Hi folks,

I've little questions about RDR using Packet Filter (PF), I used IPF
(IPFILTER) before and success with this scenario.

extif = outside interface
intif = internal interface
public_ip = 202.xxx.xxx.xxx
client_create = 192.168.1.1, port = 6112
client_join = 192.168.1.2

for outside/internet
rdr pass on $extif proto tcp from any to $public_ip port 6112  ->
$client_create port 6112

That's rule success can forward from from internet to $client_create,
now other plan how to forward
$client_join to $client_create. I use this rule:

rdr pass on $intif proto tcp from $client_join to $public_ip port 6112
 -> $client_create port 6112

As far i know if $client_create created game host with port 6112 will
be translate to $public_ip with port 6112 too.
so I need to forward from LAN to $public_ip/6112 to actually who
create game ($client_create/6112)

pfctl -s state resulting:

client_create 6112 <- public_ip 6112 <- client_join SYS-CLOSED

Anyone help for this issue - Thank you

-- 
budsz
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to