[home net] -> (eth0)[centos router](eth1) -> [isp] -> office
home-net: 192.168.0.0/24
isp network: 10.11.0.0/24
office net: 10.11.221.0/24
the centos router does nat for my home pcs and i wanted a nice gre tunnel to the office, so i ssh into both centos and office router, setup tun interfaces, assign ip addresses etc, ping test, both hosts(centos router and office router) can ping each other's gre tun interfaces.
my router's gre endpoint ip address is 10.0.0.1
office router's gre endpoint ip addr is 10.0.0.2
however, when i try to ping hosts at the office from within my [home net] i get timeouts, but if i try to ping the local gre endpoint it works.
example:
user@192.168.0.100 : ping 10.11.221.5 -> times out. >
user@192.168.0.100 : ping 10.0.0.1 -> works \m/
user@192.168.0.100 : ping 10.0.0.2 -> phails
i'm not sure i understand why my centos box doesn't forward packets from my home net through the gre and back again.
err... yes, isp does natting and i do natting too. so home boxes are behind 2 nats but i dont care.
PS: i can't add a 'gre' tag to this thread lol