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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cn anyone explain natd / ipfw relation??

Status
Not open for further replies.

JaybOt

Programmer
Apr 18, 2001
101
GB
Hi all,

i'm trying to set to a port redirection on my network so request to a specific port goto another pc on my network (same port). i think i have the 'natd' lie right, (no errors)

natd -redirect_port 192.168.0.10:1028 1028 -alias_address xx.xx.xx.xx (tun0 ip)

but i think i'm going wrong somewhere cos i don't realy under stand the relation ship between natd and ipfw and how packets are routed.

Are packet diverted from ipfw to natd with the 'ipfw -divert natd...' then natd does its thing, then packets go back to ipfw for checking by the rules... is this correct?

I am running my firewall on OPEN until i can get it right so it shouldn't be interfering with things.

Also, do i need to set a rule / redirection to redirect traffic back from my local pc (192.168.0.10:1028) to back to the source address (xx.xx.xx.xx:1028 on tun0)


Any help appriciated!

JayBot! "Always know what you say, but don't always say what you know!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top