On Tue, Oct 13, 1998 at 09:12:59AM +0700, Nguyen Dang Phuoc Dong wrote:
> 
> Good morning all,
> 
> I have a server program that work on UDP port 121. I wan to hide it by using
> IPPORTFW installed on a machine running RH 5.1 (kernel 2.0.34) . I issued
> the following commands:
> 
> bluesky# ipfwadm -F -l
> bluesky# ipfwadm -I -l
> bluesky# ipfwadm -O -l
> bluesky# ipfwadm -F -a m
> bluesky#  ipportfw -A -t 172.16.1.2/121 -R 192.168.1.1/121
> bluesky#  ipportfw -A -t 172.16.1.2/23 -R 192.168.1.2/23
> bluesky# tcpdump
> 
> And then, I use a client program that connect to 172.16.1.2 via UDP port
> 121. It's not forwarded to 192.168.1.1. If I telnet to 172.16.1.2, it's
> forwarded to 192.168.1.2 and anything's fine. It mean that the IPPORTFW ONLY
> work with TCP services, right? Or there are something wrong with my
> configure? Is there any program likes IPPORTFW, but work with UDP services?
> Thank you inadvanced!

You just need to change the -t to a -u in your forwarding line-- -t means
forward tcp, and -u means forward udp.

Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to