Re: mac os x 10.2.3 jaguar and port forwarding?
Ralph Freibeuter wrote: Ho can I exactly define a rule (and where?) that forwards incoming requests to port 445 (samba?) to an internal machine with lan ip 192.168.2.50 ? The routing Macs IP is 192.168.2.1 and the external IP is given by ISP via pppoe. As someone else mentioned Darwin (aka MacOS X) isn't FreeBSD, but the two are similar enough. If you're attempting to do filesharing over the network, be aware that just dealing with 445 isn't nearly enough; you should look into doing a VPN, rather than NAT. -Chuck To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: mac os x 10.2.3 jaguar and port forwarding?
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph > Freibeuter > Sent: Monday, December 30, 2002 04:27 PM > To: [EMAIL PROTECTED] > Subject: mac os x 10.2.3 jaguar and port forwarding? > > > Ho can I exactly define a rule (and where?) that forwards > incoming requests to port 445 (samba?) to an internal machine > with lan ip 192.168.2.50 ? > > The routing Macs IP is 192.168.2.1 and the external IP is > given by ISP via pppoe. > > Please help me. > > I've already tried: > > sudo natd -redirect_port tcp 192.168.2.50:445 445 I am assuming that there are several ways of doing this. I am blindly assuming that you are doing this on the FreeBSD box. I was using regular ppp to forward all incomming traffic on port 6112 to a specific box inside the 192.168.0.2 range using the following. This was required to play on battle.net with one specific Windows machine on my private network. I added the following three lines to /etc/rc.conf natd_enable="YES" natd_interface="tun0" natd_flags="-f /etc/natd.conf" Then within /etc/natd.conf I have: dynamic yes use_sockets yes same_ports yes unregistered_only redirect_port udp 192.168.0.2:6112 6112 And the result that I obtain looks like this alpha# ps auxw | grep natd root 160 0.0 0.1 436 32 ?? Is 21Dec02 0:19.62 /sbin/natd -f /etc/natd.conf -n tun0 > > But all I get are messages about errors and addresses > that already have been given. > > Please help Lemme know if this was any help. > > Regards, > Ralph > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: mac os x 10.2.3 jaguar and port forwarding?
Thus spake Ralph Freibeuter <[EMAIL PROTECTED]>: > Ho can I exactly define a rule (and where?) that forwards > incoming requests to port 445 (samba?) to an internal machine > with lan ip 192.168.2.50 ? > > The routing Macs IP is 192.168.2.1 and the external IP is > given by ISP via pppoe. > > Please help me. > > I've already tried: > > sudo natd -redirect_port tcp 192.168.2.50:445 445 > > But all I get are messages about errors and addresses > that already have been given. This isn't an OS X list, but... have you tried killing any existing natd instances before you try the command above? I just use natd_flags in rc.conf to specify the -redirect_port options, and it works fine. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message