Welcome, guest! Login / Register - Why register?
[email protected] webmail now available. Want one? Go here.
You will not find us on Bing and you will get a bounce when you try registering with an outlook/hotmail/live email address here. And the irony is they spam us and we don't spam them. Not our fault. Blame the corporate bully. #deeznutsmicrosoft

Paste

N/A
Pasted as text by Maki ( 14 years ago )
  1 # 
  2 *filter
  3 :FORWARD ACCEPT [0:0]
  4 :INPUT ACCEPT [0:0]
  5 :OUTPUT ACCEPT [0:0]
  6 -A INPUT -i ppp0 -p tcp --dport 80 -j ACCEPT
  7 -A INPUT -i ppp0 -p tcp --dport 10000 -j ACCEPT
  8 -A INPUT -i ppp0 -p tcp --dport 22 -j ACCEPT
  9 -A INPUT -i ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT
 10 -A INPUT -i ppp0 -p tcp -m tcp --tcp-flags FIN,SYN,ACK SYN -j LOG --log-level 7 --log-tcp-options
 11 -A INPUT -i ppp0 -p tcp -m tcp --tcp-flags FIN,SYN,ACK SYN -j REJECT
 12 -A FORWARD -s 192.168.2.0/24 -i eth1 -j ACCEPT
 13 -A FORWARD -d 192.168.2.0/24 -o eth1 -j ACCEPT
 14 -A FORWARD -o ppp0 -p tcp -j DROP
 15 COMMIT
 16 # Completed
 17 # Generated by webmin
 18 *mangle
 19 :FORWARD ACCEPT [0:0]
 20 :INPUT ACCEPT [0:0]
 21 :OUTPUT ACCEPT [0:0]
 22 :PREROUTING ACCEPT [0:0]
 23 :POSTROUTING ACCEPT [0:0]
 24 COMMIT
 25 # Completed
 26 # Generated by webmin
 27 *nat
 28 :OUTPUT ACCEPT [0:0]
 29 :PREROUTING ACCEPT [0:0]
 30 :POSTROUTING ACCEPT [0:0]
 31 -I PREROUTING -d x.x.x.x -p tcp --dport 18768 -j DNAT --to-destination 192.168.2.4:18768
 32 -I POSTROUTING -s x.x.x.x -o ppp0 -p tcp -j SNAT --to-source 192.168.2.4:18768
 33 -A POSTROUTING -o ppp0 -j MASQUERADE
 34 -A POSTROUTING -o eth0 -j MASQUERADE
 35 COMMIT
 36 # Completed

 

Revise this Paste

Parent: 0
Your Name: Code Language: