Redirecting Traffic with PF



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

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 ? And how can I do that ? Can I change it to:

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

? Or what do I have to do to fix it.

Thanks in advance,

--
-Frank Staals


_______________________________________________
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: Unknown network media type, Marvell, Asus P5B Deluxe, 6.1-REL
    ... The only network interfaces sysinstall lists were firewire, and the two serial port things. ... The motherboard has two gigabit ethernet ports which dmesg detects as. ... skc0: ...
    (comp.unix.bsd.freebsd.misc)
  • 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)
  • Re: optic fiber card first shows link but after ifup gives a Link down
    ... donwn the port as a result of a security policy. ... > I`ve got a machine with four network interfaces ... > cards it shows a link by ... > activating a green light. ...
    (Fedora)