I have tried several post to configure this redirect but is not working, this is what I need
I am receiving packets on port 8080 and I want to redirect the packets to another IP in the same server, why? because for some reason it is not sending this to the internet.
Let me give more detail.
Server A is sending port 2525 to server B but they are not in the same network. I can see the packets coming into Server B but they are not going out to the Internet.
Server B has 2 IP, one is a VPN tun1 connected to Server A and the other IP has Internet access. What I need, or I think I need, is to redirect traffic from the tun1 to the IP that has internet access, I tried different configurations but it's not working.
Any help will be appreciated.