Heres the spiel. As a few may recall, I have a rather nice OpenBSD gateway setup to do NAT and firewalling. I have a pair of DSL lines coming in, one for email/ftp and the other for a web-gui. The gateway at this point doesnt do a whole hell of alot when it comes to the email/ftp pipe. I want it to now.
What I am curious about knowing is, is it possible to route SPECIFIC IP addresses thru the gateway to the email/ftp pipe? The gateway has three channels -- LAN and both WANs. Currently a bridge is doing the firewalling for the mail/ftp pipe. But both the gateway and bridge are behind a NAT enabled router.
Here is my network topolgy. The one change that I still need to make is the addition of the bridge. But that is really a moot point. The gateway is conencted to all three points -- both DSLs and the LAN.
Currently the gateway is set to NAT on the web-gui DSL pipe (McLeod DSL) and the email/ftp is done on the SBC pipe. I need to allow a few users (like me and my CIO) access to certain ftp sites that use the static IP of the SBC line as a "get past the firewall free" card. Hence the routing issue.
I tried doing a
and got a routing table entry, however that didnt quite work correctly at all. I am assuming that my logic is flawed.
route add -net FTP_IP 192.168.254.254
(192.168.254.254 is the IP for the DSL router that is doing the nat routing)