13

[all variants] how do i use gufw to forward port 80 to 8080

view full story
linux-howto

http://ubuntuforums.org – I have squide with dansguardian on a laptop and need to have incoming port 80 forwarded to 8080 so that even if the user tries to change the proxy setting it will still go to port 8080. was told to add the below to /etc/ufw/before.rules *nat :PREROUTING ACCEPT [0:0] -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 COMMIT iptables -t nat -A OUTPUT -o lo -p tcp --dport 80 -j REDIRECT --to-port 8080 but do not know were to put them. below is my whole file # # rules.before # # Rules that should be run before the ufw command line added rules. Custom # rules should be adde (Hardware)