[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PF telnet redirect not working
I am trying to setup a box that redirects telnet requests
from one interface out a different one. My current
config is as follows;
pass in all
pass out all
rdr on xl1 proto tcp from any to any port 23 -> 192.168.100.4 port 23
The box is setup with 2 interfaces, xl0 & xl1.
xl0 = 192.168.100.20
xl1 = 18.104.22.168
What I want to do is be able to telnet to 22.214.171.124 and have openbsd transparently redirect me to 192.168.100.4 as shown in the nat.conf. It appears like it's getting to the 192.168.100.4 because a pfctl -ss reports this, TCP 192.168.100.4:23 <- 126.96.36.199:23 <- 188.8.131.52:1360 CLOSED:SYN_SENT.
Any ideas on what could possibly be going on here?
Thanks very much,