Since my host doesn't support GRE tunneling ( in fact it blocks all other tunneling ) , is it possible to create traffic tunneling between two host with iptables ?
Host A: DDoS protected. Public IP: 111.111.111.111
Host B: Game server. Public IP: 222.222.222.222
NOTE:
- All TCP and UDP traffic must flow from Host A > Host B
- Game server on HOST B must be registered with Host A - Public IP so outbound traffic from Host B will flow to HOST A with HOST A Public IP address.
I would want to register Host A's Public IP address on HOST B machine and traffic should flow from Host A to Host B only. Basically players will connect with HOST A's Public IP.
I have achieved this with GRE tunneling but since my host doesn't support it, I'm looking for an alternative here.
Is it possible to do with iptables or do I need something else ?