[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;
more /etc/pf.conf
pass in all
pass out all
more /etc/nat.conf
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 = 206.8.19.228
What I want to do is be able to telnet to 206.8.19.228 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 <- 206.8.19.228:23 <- 206.8.19.8:1360 CLOSED:SYN_SENT.
Any ideas on what could possibly be going on here?
Thanks very much,
Joel