|
|
NAT routing question!
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2000
Status:
Offline
|
|
My macOSX machine is running as a NAT-server using:
---------------------------------------------------
#!/bin/sh
natd -dynamic -interface dc0
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via dc0
/sbin/ipfw add pass all from any to any
---------------------------------------------------
My question is: What commands should I add to route all incoming traffic on a specific port to a special computer on my internal network???
For example: Every package sent through port 21 (ftp) will be redirected to machine 192.0.0.9 on my internal network. Is this possible with natd??
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Nov 1999
Status:
Offline
|
|
i think the proper term for this is port mapping...
sorry i cant help more--im just learning this stuff too. but if you make it thru this maze pls post a short tutorial on your mac.com homepage..these boards are way too slow
ppmax
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2000
Status:
Offline
|
|
Doesn't anyone know how to do this?
I have tried with ipfw by using the "fwd" action but I can't make it work!!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2000
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|