I'm trying to achieve exactly the same solution as the answer in this post (which works locally):

How to forward connection from one interface to another under linux

Except I need to forward to an IP address on another machine.

What do I need to do to get it to forward to an IP on another machine?

Eg: Machine A has Machine B has

On the gateway if a client accesses port 443 I want to forward it to the other PC at

How can I achieve this?


I found the solution here:


Hope it helps someone else.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.