[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD 3.0 and NAT



Scott J. Vaverchak wrote:
> Hello everyone,
> 
> I have been having trouble with NAT in 3.0. I want a program
> (audiogalaxy) to connect to the internal network. I read
> somewhere that it connects from ports 41000-42000. But I have
> no idea howto rdr these ports. It also uses a ftp proto so
> wouldn't I have to use ftp-proxy? So if you could help please
> send a copy of you email directly to me (Not on the list).
> Thank you very much
> 

For audioglaxy to get it work I use the normal ftp procedure (I mean to 
open ports 49152 >< 65535 )
and for the actual use you have to disable the rdr rule which is 
actually for ftp.
# rdr on xl1 from any to any port 21 -> 127.0.0.1 port 8081

I found no other way to get it working with the rdr rule enabled, so 
when I want to use audiogalaxy
I have to diable this rule everytime.

Further more my setup looks like this in pf.conf

pass out quick on $nic_ext proto tcp from $nic_ext to any port 49152 >< 
65535 flags S/SA keep state

Hope that helps a bit.