var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
IPTables Rules for Tunneling
I have some rules setup for tunneling that aren't working.
When the rules are executed manually in the bash, they work fine and dont generate any errors. But when the rules are added to a script (in the case below, its iptables-persistent) they generate an error.
Any idea what's happening? It's been driving me crazy for weeks and i can't find a solution anywhere.
The error that is generated is:
Line 6 seems to have a -t table option.
You have to change the following line:
-A PREROUTING -p tcp xxx.xxx.xxx.xxx -j DNAT --to-destination 10.1.0.2
█ | UK VPS Hosting Solutions | Reliable and Fast Internet Services VPSSHELL.CO.UK
209.141. 29 is not a buyvm IP address
OpenVZ & KVM Based VPS Servers
Chat with us
- All popular VPN methods supported
- Affordable offloaded MySQL & DDoS protection
- 5GB backup space, unmetered private LAN bandwidth & native IPv6 included. All with a strong serving of
I blanked it out for added security.
And hi Francisco! ^_^ (i dont mess up your name anymore because i think of the router company)
He's trying to point out that you made a typo and put "29" on your POSTROUTING instead of "39"
Originally Posted by
Thanks for the help. It fixed that error but produces a new one:
Originally Posted by
Bad argument at '209.141.39.x'
Error occurred at line: 6
P.S. I x'd out the last for added privacy.
Doh >.< Oops.
Fresh set of eyes can make all the difference in the world.
NM, i fixed it. There were a bunch of syntax errors in other places too.
Thanks for the help though.
Ugh something broke again but now the server cant even send any outgoing data (websites fail to query). Here are my new iptables rules:
Any idea what's happening? Ive spent over a dozen hours on it and its still not working.
By drphp3 in forum Hosting Security and Technology
Last Post: 12-04-2011, 05:22 PM
By Formas in forum Hosting Security and Technology
Last Post: 03-05-2011, 04:29 AM
By Mr Hash in forum Hosting Security and Technology
Last Post: 11-16-2010, 09:57 AM
By Ashley Merrick in forum Hosting Security and Technology
Last Post: 07-03-2009, 07:37 AM
By chris_jon in forum Hosting Security and Technology
Last Post: 01-20-2006, 05:11 AM