0
votes
2answers
86 views

iptables causes infinite loop of GET request

I am trying to reroute HTTP traffic from 80 to 8080 to be used by Burp Suite. Using iptables, my command was: iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to 127.0.0.1:8080 By doing so, ...
1
vote
1answer
901 views

iptables - force all traffic over VPN (and drop all traffic when no VPN connection)

Goal: Ensure all traffic is forced over VPN tunnel from all network interfaces (wlan0,rmnet0,rmnet1), that is all traffic is dropped when not connected to VPN. In other words, Internet traffic should ...
2
votes
1answer
595 views

Route outbound connections from local network through VPN

I have a server A running OpenVPN, an OpenVPN client B (a rooted Android phone as it happens) and a third party C (a laptop, tablet etc.) tethered to B. B can use the VPN to access the internet via ...
1
vote
2answers
817 views

iptables redirect single website traffic to port 8080

My goal is to be able to make a connection to one, and only one, website through a proxy. Everything else should be dropped. I have been able to do this successfully without a proxy with this code: ...