OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
source address for outgoing packets

From: Chad Whitten (chadwickeipi.net)
Date: Wed Jul 02 2003 - 12:52:19 CDT


i have an openbsd 3.3 machine behind a cisco router.
cisco fa0/0 is 192.168.1.1 and routes a valid /23 to the openbsd box at
192.168.1.2.

when i try to do anything from the bsd box, its going with the 192.168.1.2
address as the source which of course goes nowhere. i can ssh to public
ip on the openbsd machine fine but once in, can only do local lan stuff.

is there a way to make outgoing packets appear to originate from the
public interface - some sort of weird reverse nat?

xl0 is private interface to cisco router - 192.168.1.2/30
xl1 is public interface to switch - 207.xxx.xxx.1/24

gateway is 192.168.1.1.

Chad Whitten
Network/Systems Administrator
neXband Communications
cwhittennexband.com
601-944-4801 Phone
601-714-5012 Fax