Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vsrv01:/etc/scripts# iptables-save
- # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
- *mangle
- :PREROUTING ACCEPT [20638498:8979175471]
- :INPUT ACCEPT [18301982:7348669125]
- :FORWARD ACCEPT [2336516:1630506346]
- :OUTPUT ACCEPT [19259402:8948309154]
- :POSTROUTING ACCEPT [21595907:10578814046]
- COMMIT
- # Completed on Wed May 18 21:33:42 2011
- # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
- *filter
- :INPUT ACCEPT [18301982:7348669125]
- :FORWARD ACCEPT [2336507:1630505914]
- :OUTPUT ACCEPT [19259393:8948308140]
- -A FORWARD -p tcp -m state --state NEW,RELATED,ESTABLISHED -m tcp --dport 25 -j ACCEPT
- COMMIT
- # Completed on Wed May 18 21:33:42 2011
- # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
- *nat
- :PREROUTING ACCEPT [403432:24065554]
- :POSTROUTING ACCEPT [4214873:345328970]
- :OUTPUT ACCEPT [4211561:345129563]
- -A PREROUTING -p tcp -m tcp --dport 25 -j DNAT --to-destination 172.16.99.10
- -A PREROUTING -p tcp -m tcp --dport 25 -j DNAT --to-destination 172.16.99.10
- -A POSTROUTING -s 172.16.99.10/32 -o venet0 -j MASQUERADE
- -A POSTROUTING -s 172.16.99.0/24 -o venet0 -j MASQUERADE
- COMMIT
- # Completed on Wed May 18 21:33:42 2011
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement