Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


iptables broken, pptp issues
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

iptables broken, pptp issues

spycrab101spycrab101 Member
edited March 2013 in Help

I decided to muck around with iptables and now all the ports are enabled and I can't seem to restore them back to the way the VPS was first setup.

root@xxxxx:~# iptables-save

Generated by iptables-save v1.4.12 on Sat Mar 2 21:18:57 2013

*mangle
:PREROUTING ACCEPT [7273580:4667903716]
:INPUT ACCEPT [7269908:4666623460]
:FORWARD ACCEPT [5:592]
:OUTPUT ACCEPT [6054021:3187578507]
:POSTROUTING ACCEPT [6054023:3187578796]
COMMIT

Completed on Sat Mar 2 21:18:57 2013

Generated by iptables-save v1.4.12 on Sat Mar 2 21:18:57 2013

*filter
:INPUT ACCEPT [7269908:4666623460]
:FORWARD ACCEPT [5:592]
:OUTPUT ACCEPT [6054020:3187578452]
COMMIT

Completed on Sat Mar 2 21:18:57 2013

Generated by iptables-save v1.4.12 on Sat Mar 2 21:18:57 2013

*nat
:PREROUTING ACCEPT [2285908:274256712]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [49484:3942273]
-A POSTROUTING -j SNAT --to-source xxxx
COMMIT

Does anyone know how I can restore this back to the default settings? Thanks.

Comments

Sign In or Register to comment.