X-Git-Url: http://lab.mitty.jp/git/?a=blobdiff_plain;ds=sidebyside;f=iptables%2Fufw%2Fnat.rules;fp=iptables%2Fufw%2Fnat.rules;h=0000000000000000000000000000000000000000;hb=8333ea00a9fe608c90c20af12ea0c51548f66f4e;hp=23d1986b24c24540e3afc24ae8698cb5cb8c0fd0;hpb=920ad9e17feea13643c407944f9452b03bd45b6e;p=lab.git diff --git a/iptables/ufw/nat.rules b/iptables/ufw/nat.rules deleted file mode 100644 index 23d1986..0000000 --- a/iptables/ufw/nat.rules +++ /dev/null @@ -1,18 +0,0 @@ -# -# This file is used by /etc/init.d/setfilter -# -# Rules that should be stored in nat table. -# These are mainly used to IP MASQUERADE and REDIRECT. - - -*nat - -## port REDIRECT to local services -# 8443/tcp -> 443/tcp --A PREROUTING -p tcp --dport 8443 -j REDIRECT --to-port 443 -# WAN 8000/tcp -> 443/tcp --A PREROUTING -p tcp -i eth1 --dport 8000 -j REDIRECT --to-port 443 -# LAN 8000/tcp -> 22/tcp --A PREROUTING -p tcp -i eth0 --dport 8000 -j REDIRECT --to-port 22 - -COMMIT