New answers tagged gre
0
GRE tunnel between what? Home computer and server?
Basically Apache is configured by CPanel to serve your domains on the filtered, 209.141.38.1XX IP.
But the DNAT's you are doing, will redirect the website requests to 192.168.168.2, which will hit the default vhost in apache config.
You have 2 choices:
Clean the DNAT rules, and router , and route website ...
0
The IP is the IP of the server and not the IP of router.
So let say you have 1.2.3.4/24 configured on eth0, with 1.2.3.1 being the the default gw/router, then the command would be:
iptunnel add tun1 mode gre local 1.2.3.4 remote x.x.x.x ttl y
1
Because you're running a proxy server on the gateway-vm(s), presumably they are not doing ip-forwarding on them.
You could enable ip-forwarding on your gateway-vm(s) and route the traffic like:
database-vm1 <-> gateway-vm1 <-ipsec/gre-> gateway-vm2 <-> database-vm2
You would want to be careful that you don't enable traffic forwarding to bypass ...
Top 50 recent answers are included