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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
GRE Tunnel Tutorial CentOS 6

in Help
http://wiki.buyvm.net/doku.php/gre_tunnel
I used this tutorial, and everything could work including the pinging, but the iptables part didn't work at all. I ran httpd on the server on the other end of the GRE tunnel and could even wget the GRE IP wget 192.168.168.2 and get a response, but for some reason it wasn't forwarding to the outside IP. On the main machine that has the 2 IPs both IPs are accessible and set up correctly on eth0. Something is just up with the iptables scrripts and CentOS 6, I am even doing iptables save and reload and service start.
Comments
Should I try using CentOS 7 instead? If I can ping both of them and see the services running from the other machine's local IP it has to be just an issue of the iptables commands not working to forward the traffic to the IP, which I can't find any more information on.
Basically this works
but everything else after that does not.
I wonder if I can change one of these
or
to the outside IP address I want accessible and bypass all that IPtables routing stuff in the first place which doesn't want to work for me. This isn't the first time I've had issues with IPTables on CentOS 6 either, which is why it's usually one of the first things I disable in system-config-firewall-tui. CentOS 6 may be too old in this case as well, I really don't know and can't find any more information on getting this working, since most tutorials reference Ubuntu and stuff and I'd rather use something REHL based.