Cat/etc/network/iptables.up.rules
# Generated by Iptables-save v1.6.0On Mon Nov + One: -: - .*nat:prerouting ACCEPT [ About:3590]:input ACCEPT [0:0]:output ACCEPT [ $:3096]:P ostrouting ACCEPT [ $:3096]-A Postrouting-s10.86.2.0/ --O ppp0-J masqueradecommit# completed on Mon Nov + One: -: - .# Generated by Iptables-save v1.6.0On Mon Nov + One: -: - .*filter:input ACCEPT [0:0]:forward ACCEPT [0:0]:output ACCEPT [2344:488301]-A input-m state--state related,established-J ACCEPT-A input-p ICMP-J ACCEPT-A input-i lo-J ACCEPT-A input-p udp-m UDP--dport123-A input-p tcp-m state--state new-m TCP--dport A-J ACCEPT-A input-j REJECT--reject-with icmp-host-prohibited-A Forward-s10.86.2.0/ --J ACCEPT-A forward-d10.86.2.0/ --J ACCEPT-A forward-j REJECT--reject-with icmp-host-prohibitedcommit# completed on Mon Nov + One: -: - .# Generated by Iptables-save v1.6.0On Mon Nov + One: -: - .*mangle:prerouting ACCEPT [5378:7270822]:input ACCEPT [2077:5734236]:forward ACCEPT [3301:1536586]:output ACCEPT [2344:488301]:P ostrouting ACCEPT [5645:2024887]-A forward-o ppp0-p tcp-m tcp--tcp-flags syn,rst syn-m TCPMSS--MSS1400:65495-j Tcpmss--clamp-mss-to-pmtucommit# completed on Mon Nov + One: -: - .
Ubontu Ubuntu configuration iptables nat Internet