Category: Firewall
-
IPtables PREROUTING, POSTROUTING for mixed interfaces via DNAT & SNAT
Read more: IPtables PREROUTING, POSTROUTING for mixed interfaces via DNAT & SNATTraffic Forwarding with iptables Let’s get straight to the point. We are looking at two specific networking scenarios: Simple Traffic Forwarding: Routing traffic from a specific Source IP through our…
-
IPTABLES redirect all ports to one port
Read more: IPTABLES redirect all ports to one porthello this iptables rule to redirect all incoming traffic from all ports to one port example 80 on ip 192.168.1.10 iptables -A PREROUTE -t nat -i eth0 -p tcp –dport…
-
underc0de 3 WalkThrough
Read more: underc0de 3 WalkThroughloaded the virtual machine and run netdiscover to get the machine IP oot@n1x:~# netdiscover Currently scanning: 192.168.39.0/16 | Screen View: Unique Hosts 4 Captured ARP Req/Rep packets, from 4 hosts.…
-
NGINX forward visitor real ip to apache
Read more: NGINX forward visitor real ip to apachelet’s assume u have NGINX on port 80 apache on port 8080 in nginx config -> sever config -> virtualhost config location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For…
-
Files Encrypt with GPG
Read more: Files Encrypt with GPGGPG = Gnu Privacy Guard To secure file from unauthorised access with the password in Linux/Unix is very simple method 🙂 lets assume we have a secure file with some…
