How to create a GRE Tunnel in CentOS pointing all connections to server A for the server B?
I have a public server with DDoS protection and need to use this as a firewall to filter acess to the other server.
Example:
users -> server A(DDoS protected) -> server B
All servers have CentOS 6
Best Answer
GRE may not be what you are looking for. You may be better served looking at HTTP Reverse Proxying (ProxyPass), SSH forwarding, D-NAT or other techniques.
That said, there is a tutorial on GRE on CentOS Linux at here.