Re: IPFW Firewall NAT inbound port-redirect



In the last episode (Jul 12), Michael Sierchio said:
Is there a way of specifying a particular public address if there is
more than one bound to the external interface? A la

nat 123 config if re0.2 log same_ports redirect_port tcp 10.0.0.3:22 102.10.22.1:2222

Yes; the redirect_port syntax is described in the natd manpage:

redirect_port proto targetIP:targetPORT[-targetPORT]
[aliasIP:]aliasPORT[-aliasPORT]
[remoteIP[:remotePORT[-remotePORT]]]



--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Proper Port Forwarding
    ... In the last episode, Michael Sierchio said: ... stops forwarding using the rule above because of "too many dynamic ... Dan Nelson ...
    (freebsd-questions)
  • Re: configuring suse firewall
    ... Merlin wrote: ... > the syntax seems to be wrong. ... I have 'ppp0 ppp1' in my External interface and that works. ...
    (alt.os.linux.suse)