Hi !

Maybe this is newbie question, but i cant find answer.
I try to make redirection, the destination server is not in Lan, but in public Internet.

Public Internet Router/PF with real IP Server with real IP in Public Internet |----------------------| |---------------------| |--------------------- -| | | ------------> | 111.111.111.111 | ----------> | 222.222.222.222 | |----------------------| |---------------------| | ----------------------|

I try to do that with PF,  but that not work.
rdr proto tcp from any to any port 22 -> 222.222.222.222 port 22
If the destination server are in lan (with virtual IP 192.168.x.x. ), then all works fine.
What I do wrong, or maybe that is impossible ?
Maybe there are some better ways to do this ?
Thanks

Reply via email to