freebsd + ipfw +(proxy) ET enemy territory


(gaspo) #1

hi i wanna know how is possible under firewall play at Et:
i put this on ipfw: ipfw add fwd 69.64.37.184,27960 udp from 192.168.1.10 to me 27960

this forward packet on my internal lan to my server > to SERVERGAME ip, i think is ok but not work-
when i go to play the game: awaiting connection. like not reverse.

there are any metod for play? like proxy socks?


(chr0nicles) #2

Please try to construct your sentences in a more readable way, since its very hard to understand you, make sure you removed all your previous rules in your fw.

Put the following in /etc/rc.conf

natd_enable=“YES”
natd_interface=“vr0” <-- change it with the name of your own NIC ( use ifconfig to check )
natd_flags="-f /etc/natd.conf"

Put the following in /etc/natd.conf

use_sockets yes
same_ports yes
unregistered_only yes
dynamic yes
redirect_port udp 192.168.1.10:27960 27960
redirect_port udp 192.168.1.10:27961 27961

redirection works like the following.
“redirect_port udp inside_address:port outside_address:port”


(k1ll3r) #3

you don’t need any kind of port redirection to play ET under ipfw.
cmd="/sbin/ipfw -q"
net=“rl1”

$cmd add 85 allow udp from me to any 27950-28980,24300,40000 keep-state out via $net
$cmd add 85 allow udp from me to 192.246.40.65 27952 keep-state out via $net
$cmd add 85 allow udp from me to 192.246.40.60 27950 keep-state out via $net
$cmd add 85 allow udp from me to any 20500-20510 keep-state out via $net

These are what you need to allow et to reach the outside world. You only need port redirection if you want to host a server on your internal network.


(chr0nicles) #4

You only need port redirection if you want to host a server on your internal network.

my internal lan to my server

:clap: Besides there are also other situations where you DO need redirection.