Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help, ipf rule to reach a winxpBox in lan via gateway from www-server

Status
Not open for further replies.

ronsen

Programmer
Jan 24, 2007
2
0
0
AT
Hi All,
I should make a connection to a winxpBox in intranet.
Now I’m trying to find a rule to pass our gateway

Our lan:

Router 213.47.208.161
v
|
freebsdbox vr0 213.47.208.162 (firewall ipf)
v
| ed0 213.47.208.168
Gateway Freebsdbox firewall with ipf and nat
| ep0 192.168.1.1
|
|
winxpBox 192.168.1.91

on the I run
route –n add 192.168.1.91/32 213.47.208.168

ping from to 213.47.208.168 is ok
ping from to 192.168.1.91 is ok
ping from gateway to 192.168.1.91 is ok
ping from winxBox to 213.47.208.168 is ok

How do I have to make the rule on to reach the intranet
from 213.47.208.162 via 213.47.208.168 to 192.168.1.91 ?

I tried on the gateway
Pass in quick on ed0 proto tcp from 213.47.208.162 to any port > 1

Tia
Ron
 
I found the solution the reason was nat. I start a net analyser on winxp and saw the gateway returns a reset because the session was turned over.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top