Re: Redirecting Traffic with PF



Frank Staals skrev:
Noel Jones wrote:

On 2/24/06, Frank Staals <frankstaals@xxxxxxx> wrote:


Hey,

I have an FreeBSD server/firewall running 5-Stable with PF. I want to
redirect all udp traffic on port 27902 from the internet to a computer
in my network. I used this rule but I have some problem with it:
sometimes connections on that port are refused and I can't connect with
other players ( it's for a online game ) :

rdr on $extif inet proto udp from any port 27902 -> 192.168.2.11 port 27902

Portmapping and redirections are set with ipnat.

In your ipnat.rules - or whatever you call it - put something like this:

rdr fxp0 0.0.0.0/0 port 80 -> 10.0.0.2 port 80 tcp

Change to suite yor setup.
_______________________________________________
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: Multiple RDP access on one Inet line
    ... I want to go with the a hardware port forwarding solution like you showed ... will use the ActiveX RDP client to redirect them to their computer. ... Al Jarvi (MS-MVP Windows Networking) ... How is your network connected to the internet? ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Multiple RDP access on one Inet line
    ... Here is an example of port redirection from my old Linksys BEFSR41 router... ... Al Jarvi (MS-MVP Windows Networking) ... How is your network connected to the internet? ... redirect those ports to each computer but I would rather leave the XP ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Incoming port redirection on SBS2000
    ... redirect it to an internal machine on port 8585... ... create a Protocol Definition in ISA for an Inbound connection using protocol ... > from his house through the internet. ...
    (microsoft.public.windows.server.sbs)
  • Redirecting Traffic with PF
    ... I want to redirect all udp traffic on port 27902 from the internet to a computer in my network. ... I think the problem might have something to do with the different network interfaces since the traffic is comming in on $extif and has to go to an computer connected to $intif? ...
    (freebsd-questions)
  • Re: Linux als Router
    ... # Enter all trusted network interfaces here. ... # which should be available to the internet and set FW_ROUTE to yes. ... space separated list of ports, ... # Packets to silently reject without log message. ...
    (de.comp.os.unix.linux.misc)