Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -t filter -L
- -----------------------------
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT tcp -- anywhere anywhere tcp dpt:222
- ACCEPT tcp -- anywhere anywhere tcp dpt:35071
- DROP all -- anywhere anywhere
- ACCEPT udp -- anywhere anywhere udp dpt:isakmp
- ACCEPT tcp -- anywhere anywhere tcp dpt:4500
- ACCEPT udp -- anywhere anywhere udp dpt:ipsec-nat-t
- ACCEPT udp -- anywhere anywhere udp dpt:sip
- ACCEPT udp -- anywhere anywhere udp dpt:sip-tls
- ACCEPT udp -- anywhere anywhere udp dpts:10000:20000
- ACCEPT udp -- anywhere anywhere udp dpt:iax
- ACCEPT tcp -- anywhere anywhere tcp dpt:5038
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT tcp -- anywhere anywhere tcp dpt:50000 state NEW
- ACCEPT tcp -- anywhere anywhere tcp dpt:35071 state NEW
- ACCEPT all -- 192.168.200.0/24 192.168.0.0/16 policy match dir out pol ipsec proto esp
- ACCEPT all -- 192.168.0.0/16 192.168.200.0/24 policy match dir in pol ipsec proto esp
- iptables -t nat -L
- -----------------------------
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- RETURN all -- anywhere 192.168.0.0/16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement