[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trying to telnet and ping through a bsd gateway fails
I am trying to telnet between two machines that are behind bsd gateways
using pf.conf
192.168.35.4<-->192.168.35.0/24<-->192.168.35.51/24.27.15.30<--Internet-->24.242.137.194/192.168.30.2<-->192.168.30.0/24<-->192.168.30.15
my filtering look like this
vectra# pfctl -sr
@0 pass in log quick on de1 all
@1 pass out log quick on de1 all
@2 pass out log quick on de0 all
@3 pass in log quick on de0 all
donna-gw# pfctl -sr
@0 pass out log quick on dc0 all
@1 pass in log quick on dc0 all
@2 pass out log quick on fxp0 all
@3 pass in log quick on fxp0 all
and my natting looks like this
@nat on dc0 from 192.168.35.0/24 to any -> 24.27.15.30
@nat on de0 from 192.168.30.0/24 to any -> 24.242.137.194
I thought that I needed to add routes such as
route add 192.168.30.0/24 24.27.15.30
route add 192.168.35.0/24 24.242.137.194
This didn't seem to do anything.
THIS is not the original problem, but where troubleshooting lead me. I have
a small network with BSD VPN/Firewalls and am trying to upgrade to 3.0
Most of the machines use telnet as a normal mode of comms. I installed the
test network and telnet doesn't seem to get through the system.
Any help would be appreciated since I am at wits end.
--
Vides Credendo!
Nick Gray
Senior Network Engineer
Bruzenak inc.
nagray@bruzenak.com