Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread Andrew P.
On 5/12/05, Carlos Alloatti <[EMAIL PROTECTED]> wrote: > On 5/11/05, Andrew P. <[EMAIL PROTECTED]> wrote: > > Hello! > > > > I have a program that binds to ip:port. What are > > my options, if I want it to listen on all interfaces > > (*:port)? Let's say reconfiguring the program > > and/or running

Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread WMC
At 12:56 PM 5/12/2005, you wrote: I have a program that binds to ip:port. What are my options, if I want it to listen on all interfaces (*:port)? Let's say reconfiguring the program and/or running one instance per interface is not possible. How 'bout: * Install ports/net/redir * Config original p

Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread Carlos Alloatti
On 5/11/05, Andrew P. <[EMAIL PROTECTED]> wrote: > Hello! > > I have a program that binds to ip:port. What are > my options, if I want it to listen on all interfaces > (*:port)? Let's say reconfiguring the program > and/or running one instance per interface is > not possible. I've got ipfw as a fi

Re: Redirect *:port to ip:port on the same machine?

2005-05-11 Thread Tomas Quintero
On 5/11/05, Andrew P. <[EMAIL PROTECTED]> wrote: > Hello! > > I have a program that binds to ip:port. What are > my options, if I want it to listen on all interfaces > (*:port)? Let's say reconfiguring the program > and/or running one instance per interface is > not possible. I've got ipfw as a fi

RE: redirect port

2004-02-19 Thread Randy Grafton
Stanley, If you are using natd and have recompiled your kernel with the appropriate options then this should work for you. These are entries to your /etc/rc.conf, (just a starting point, you can fine tune to your needs): gateway_enable="YES" firewall_enable="YES" firewall_type="OPEN" firewall_quie

Re: redirect port

2004-02-19 Thread Deling Ren
Are you using ipfilter or ipfw? In the former case, read this how-to: http://www.obfuscation.org/ipf/ipf-howto.html Deling On Sat, 2 Jan 1999, Stanley Chan wrote: > Dear Friends, > > The example in the NAT documents is sufficient, can anyone tell me how > to redirect ports in the NAT machine. H