Re: Proper Port Forwarding

2012-06-07 Thread Ian Smith
In freebsd-questions Digest, Vol 418, Issue 10, Message: 7 On Wed, 06 Jun 2012 14:31:24 -0400 Simon si...@optinet.com wrote: Can someone suggest an alternative/proper way to port forward using ipfw. Right now I have the following and some bad clients cause too many FIN_WAIT_2 state

Re: Proper Port Forwarding

2012-06-07 Thread Michael Powell
Michael Sierchio wrote: On Wed, Jun 6, 2012 at 11:31 AM, Simon si...@optinet.com wrote: This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW stops forwarding using the rule above because of too many dynamic rules Change the defaults for the fw.dyn sysctl MIB nodes

Re: Proper Port Forwarding

2012-06-07 Thread Michael Sierchio
On Thu, Jun 7, 2012 at 10:15 AM, Michael Powell nightre...@hotmail.com wrote: There is also this you can place in /etc/sysctl.conf: net.inet.tcp.fast_finwait2_recycle=1 Good catch. The defaults are perhaps not ideal in all cases: net.inet.tcp.finwait2_timeout: 6 - ms, ten minutes

Re: Proper Port Forwarding

2012-06-07 Thread Michael Sierchio
On Thu, Jun 7, 2012 at 10:27 AM, Michael Sierchio ku...@tenebras.com wrote: net.inet.tcp.finwait2_timeout: 6  - ms, ten minutes I can't do arithmetic, but you get the idea. A full minute. ___ freebsd-questions@freebsd.org mailing list

Re: Proper Port Forwarding

2012-06-07 Thread Chuck Swiger
On Jun 7, 2012, at 10:29 AM, Michael Sierchio wrote: On Thu, Jun 7, 2012 at 10:27 AM, Michael Sierchio ku...@tenebras.com wrote: net.inet.tcp.finwait2_timeout: 6 - ms, ten minutes I can't do arithmetic, but you get the idea. A full minute. Yes; that's already shorter than possible

Proper Port Forwarding

2012-06-06 Thread Simon
Hi, Can someone suggest an alternative/proper way to port forward using ipfw. Right now I have the following and some bad clients cause too many FIN_WAIT_2 state fwd IP,PORT2 tcp from any to me dst-port PORT1 keep-state This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW

Re: Proper Port Forwarding

2012-06-06 Thread Michael Sierchio
On Wed, Jun 6, 2012 at 11:31 AM, Simon si...@optinet.com wrote: This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW stops forwarding using the rule above because of too many dynamic rules Change the defaults for the fw.dyn sysctl MIB nodes to something like

Re: Proper Port Forwarding

2012-06-06 Thread Dan Nelson
In the last episode (Jun 06), Michael Sierchio said: On Wed, Jun 6, 2012 at 11:31 AM, Simon si...@optinet.com wrote: This easily causes DoS for when too many FIN_WAIT_2 are created and IPFW stops forwarding using the rule above because of too many dynamic rules Change the defaults for

Re: nat and ipfw, port forwarding

2008-12-28 Thread usleepless
a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx i think you need to configure /etc/ipnat.conf ( read 'man ipnat' ). this is a example definition: rdr em1 0.0.0.0/0 port 2223 - 192.168.1.96 port 22 ( this redirects incoming

Re: nat and ipfw, port forwarding

2008-12-27 Thread Lowell Gilbert
Richard Yang kusanagiy...@gmail.com writes: i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? Use 'redirect_port' with natd(8). This is extensively documented in the Handbook: http://www.freebsd.org/doc/en

Re: nat and ipfw, port forwarding

2008-12-27 Thread usleepless
Hi Ricard, On Fri, Dec 26, 2008 at 9:27 PM, Richard Yang kusanagiy...@gmail.comwrote: hi, i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx i think you need to configure /etc/ipnat.conf ( read 'man

Re: nat and ipfw, port forwarding

2008-12-27 Thread Richard Yang
and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx i think you need to configure /etc/ipnat.conf ( read 'man ipnat' ). this is a example definition: rdr em1 0.0.0.0/0 port 2223 - 192.168.1.96 port 22 ( this redirects incoming traffic on outside-interface

nat and ipfw, port forwarding

2008-12-26 Thread Richard Yang
hi, i have a ssh machine behind a freebsd firewall with nat and ipfw. how do i make port forwarding so internet can access the ssh machine? thanx -- Best Regards Richard Yang richardy...@richardyang.net kusanagiy...@gmail.com ___ freebsd-questions

Re: Port forwarding behind two routers

2008-11-19 Thread Luke Dean
On Wed, 19 Nov 2008, Jakub T wrote: 2008/11/15 Luke Dean [EMAIL PROTECTED] Port-forwarding through two NATs is something I've never had any success with. I have a few suggestions that have worked for me and my friends with this setup. A) Disable NAT on the ADSL router. I think the term

Re: Port forwarding behind two routers

2008-11-18 Thread Jakub T
2008/11/15 Luke Dean [EMAIL PROTECTED] Port-forwarding through two NATs is something I've never had any success with. I have a few suggestions that have worked for me and my friends with this setup. A) Disable NAT on the ADSL router. I think the term is bridged mode. Turn it into a dumb

Port forwarding behind two routers

2008-11-15 Thread Jakub T
aMule and other apps that need port forwarding working on FreeBSD box. First, I tried to configure ADSL router (192.168.1.1) just to forward 4662 port to 192.168.0.102, doesn't work. Then, I tried this: 192.168.1.1 router: forward 4662 to 192.168.0.1 192.168.0.1 router: forward 4662 to 192.168.0.102

Re: Port forwarding behind two routers

2008-11-15 Thread Luke Dean
computers. However, I can't get aMule and other apps that need port forwarding working on FreeBSD box. First, I tried to configure ADSL router (192.168.1.1) just to forward 4662 port to 192.168.0.102, doesn't work. Then, I tried this: 192.168.1.1 router: forward 4662 to 192.168.0.1 192.168.0.1 router

Re: Port forwarding behind two routers

2008-11-15 Thread Wojciech Puchar
B) Disable NAT on the wireless router. This allows it to be a simple switch and wireless access point. The price is that you're probably relying on the DHCP server in the wireless router for your wireless devices and you'll have to disable the DHCP when you disable NAT. This creates new

SSH Port forwarding when PermitRootLogin==no ?

2008-10-27 Thread Kevin Kinsey
Hello, I'm (still) trying to work around a limitation I've encountered with a new service provider (cf. MTA on non-standard port). As root: # ssh -L 24:server:52525 server fails because root logins aren't permitted in /etc/sshd_config on the server. Also as root: # ssh -L 24:server:52525

Re: SSH Port forwarding when PermitRootLogin==no ?

2008-10-27 Thread Pollywog
On Monday 27 October 2008 17:04:46 Kevin Kinsey wrote: Hello, I'm (still) trying to work around a limitation I've encountered with a new service provider (cf. MTA on non-standard port). As root: # ssh -L 24:server:52525 server fails because root logins aren't permitted in

Re: SSH Port forwarding when PermitRootLogin==no ?

2008-10-27 Thread Jeremy Chadwick
On Mon, Oct 27, 2008 at 12:04:46PM -0500, Kevin Kinsey wrote: Hello, I'm (still) trying to work around a limitation I've encountered with a new service provider (cf. MTA on non-standard port). As root: # ssh -L 24:server:52525 server fails because root logins aren't permitted in

Re: SSH through port forwarding

2007-12-28 Thread Chad Perrin
On Tue, Dec 18, 2007 at 05:44:11AM -0500, Gerard Seibert wrote: On December 18, 2007 at 12:47AM sham khalil wrote: once you open port 22 to public ip, you'll get people try to bruteforce your machine. if you don't want that set sshd to listen to a higher number like 5522 then forward

Re: SSH through port forwarding

2007-12-28 Thread Chad Perrin
On Tue, Dec 18, 2007 at 06:02:18AM +, Pollywog wrote: Make sure the ISP is not blocking port 22. If they block it, you will need to change the SSH port in sshd_config and then set the router to forward the port to the server's internal IP address. It's a good idea to change the

Re: SSH through port forwarding

2007-12-28 Thread Brian
Chad Perrin wrote: On Tue, Dec 18, 2007 at 05:44:11AM -0500, Gerard Seibert wrote: On December 18, 2007 at 12:47AM sham khalil wrote: once you open port 22 to public ip, you'll get people try to bruteforce your machine. if you don't want that set sshd to listen to a higher number like 5522

Re: SSH through port forwarding

2007-12-28 Thread Chad Perrin
On Fri, Dec 28, 2007 at 12:19:44PM -0800, Brian wrote: Chad Perrin wrote: On Tue, Dec 18, 2007 at 05:44:11AM -0500, Gerard Seibert wrote: On December 18, 2007 at 12:47AM sham khalil wrote: once you open port 22 to public ip, you'll get people try to bruteforce your machine. if you

Re: SSH through port forwarding

2007-12-18 Thread Gerard Seibert
On December 18, 2007 at 12:47AM sham khalil wrote: On Dec 18, 2007 12:08 PM, Bill Campbell [EMAIL PROTECTED] wrote: On Mon, Dec 17, 2007, Andrew Falanga wrote: Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward

Re: SSH through port forwarding

2007-12-18 Thread Andrew Falanga
Security through obscurity is a poor substitute for security. Port scanners will eventually find that port also. Have you checked to see if a firewall is set up that could be blocking the port? Not a thorough check, but my father did turn off the firewall system on that linksys router.

SSH through port forwarding

2007-12-17 Thread Andrew Falanga
Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward SSH requests to his FreeBSD machine at home. As near as we can figure, it's setup correctly. In case anyone here uses this router it is WRT54G and details (including a users

Re: SSH through port forwarding

2007-12-17 Thread Bill Campbell
On Mon, Dec 17, 2007, Andrew Falanga wrote: Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward SSH requests to his FreeBSD machine at home. As near as we can figure, it's setup correctly. In case anyone here uses this router

Re: SSH through port forwarding

2007-12-17 Thread Pollywog
Make sure the ISP is not blocking port 22. If they block it, you will need to change the SSH port in sshd_config and then set the router to forward the port to the server's internal IP address. It's a good idea to change the port anyway, in order not to be obvious to script kiddies.

Re: SSH through port forwarding

2007-12-17 Thread sham khalil
On Dec 18, 2007 12:08 PM, Bill Campbell [EMAIL PROTECTED] wrote: On Mon, Dec 17, 2007, Andrew Falanga wrote: Hi, I'm having a difficult time working with my father to get the port forwarding working on his Linksys router to forward SSH requests to his FreeBSD machine at home. As near

Problem with Nat (port forwarding)

2007-01-22 Thread Paul Procacci
0xff00 Opened by PID 492 Natd configuration (Works fine w/ the exception of port forwarding) -- natd_enable=YES natd_flags=-dynamic -m -redirect_port tcp 10.5.21.246:5000 5000 natd_interface=tun0 IPFW RULES (works fine

AMD64 SSH Port Forwarding?

2006-09-12 Thread veldy
Has anybody noted any issues with port forwarding using SSH tunnels on FreeBSD 6.1 AMD64? I just recently upgraded my machine from i386 to amd64, using nearly all the same configuration files. Now, remotely, I make an SSH session to my machine and attempt to forward ports, as usual, and I find

Re: Port forwarding.

2006-01-24 Thread Igor Robul
netmask 0xff80 broadcast 87.50.69.127 ether 00:b0:02:00:27:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active I have been googling and reading ifconfig papers all day yesterday, in the search for how to do simple port-forwarding, but nothing have

Re: Port forwarding.

2006-01-24 Thread Daniel A.
inet 87.50.69.60 netmask 0xff80 broadcast 87.50.69.127 ether 00:b0:02:00:27:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active I have been googling and reading ifconfig papers all day yesterday, in the search for how to do simple port

Port forwarding.

2006-01-23 Thread Daniel A.
) status: active I have been googling and reading ifconfig papers all day yesterday, in the search for how to do simple port-forwarding, but nothing have worked. So, this is my final resort: How would I forward the ports 9541 (TCP) and 9542 (UDP) to 192.168.0.2 on my LAN

Re: SSH Port Forwarding Specific IP

2005-10-14 Thread Lowell Gilbert
John Do [EMAIL PROTECTED] writes: If you have a FreeBSD computer with multiple IP addresses and you want an outside client to tunnel how can you force the tunnel to use a certain IP? Isn't the -b option for exactly that? ___

SSH Port Forwarding Specific IP

2005-10-12 Thread John Do
If you have a FreeBSD computer with multiple IP addresses and you want an outside client to tunnel how can you force the tunnel to use a certain IP? Thanks! __ Find your next car at

Re: Question about ipfw, natd and port forwarding.

2005-03-06 Thread Jeff Penn
Deling Ren [EMAIL PROTECTED]: Hi all, I am trying to setup a NAT box for my home network on freebsd 5.3. I am using ipfw and natd. I already got nat running but I am having problem with port forwarding. I am trying to forward port 80 on the nat box to an internal machine (192.168.0.7). I have

Re: Question about ipfw, natd and port forwarding.

2005-02-28 Thread Lowell Gilbert
Deling Ren [EMAIL PROTECTED] writes: Hi all, I am trying to setup a NAT box for my home network on freebsd 5.3. I am using ipfw and natd. I already got nat running but I am having problem with port forwarding. I am trying to forward port 80 on the nat box to an internal machine (192.168.0.7

Question about ipfw, natd and port forwarding.

2005-02-25 Thread Deling Ren
Hi all, I am trying to setup a NAT box for my home network on freebsd 5.3. I am using ipfw and natd. I already got nat running but I am having problem with port forwarding. I am trying to forward port 80 on the nat box to an internal machine (192.168.0.7). I have the following as part

ipnat port forwarding froblem

2005-01-16 Thread BSD Bod
Hi All, I have an ADSL router with some very basic Firewall connecting my internal network to the internet. I now want to give myself greater flexibility and protection and so I have been attempting to set a 3 homed host running a firewall with nat. This host needs to route packets between 2

(Another) NATD/IPFW port forwarding problem

2004-08-18 Thread fbsd-help
.oO( Internet )Oo. || || [DSL--] [ adsl router ] - No Nat [-]

[from newbies]: SSH port forwarding and Webmin

2004-07-12 Thread clayton rollins
not seem to work with FreeBSD 5.2.1. It does work out of the box for other versions (4.7 and 4.8 at least) of FreeBSD though. Is there some rule somewhere preventing port forwarding in 5.2? Here's my netstat output: bsd3c# netstat -nat Active Internet connections (including servers) Proto Recv-Q Send-Q

NATD Port Forwarding question

2004-07-04 Thread Jon Kurjakovich
/etc/natd.conf with the following options in my natd.conf file. interface tun0 same_ports yes use_sockets yes unregistered_only redirect_port tcp 192.168.1.2:3389 3389 When I create an SSH tunnel using putty, that works fine. It is only when I try and use natd w/ port-forwarding that it doesn't

Re: NATD Port Forwarding question

2004-07-04 Thread Micheal Patterson
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 04, 2004 3:57 AM Subject: NATD Port Forwarding question Hi there, I am currently using FreeBSD 4.8-RELEASE. I do plan on upgrading to 5.2-CURRENT shortly but I know people who are using 5.2-CURRENT and are experiencing the same problem

RE: NATD Port Forwarding question

2004-07-04 Thread Jon Kurjakovich
Yes. It is a Windows 2000 Server machine that I can connect to both on the local network and via an SSH tunnel. It is simply to do with natd's port forwarding. I also cannot use port forwarding to access any other services on the 2000 Server box such as telnet or ftp for example. Any help

Re: NATD Port Forwarding question

2004-07-04 Thread andrew clarke
On Sun, Jul 04, 2004 at 06:57:16PM +1000, Jon Kurjakovich wrote: My problem: I am trying to use NATD to forward packets to machines on the internal network using the redirect_port command. I don't have a solution to your problem with natd, however net/rinetd (from ports) might be a good enough

Configuring Port Forwarding behind PPPoE

2004-03-23 Thread JP
Hello, I am currently using PPPoE on FreeBSD 5.2, I have a need to forward internet traffic on certain ports to a private IP address behind the box. How can this be accompished? For instance, inbound traffic arriving on public IP 205.242.192.20 port 21 needs to arrive to private IP 192.168.1.1

Re: Configuring Port Forwarding behind PPPoE

2004-03-23 Thread Harald Schmalzbauer
Am Dienstag, 23. März 2004 22:26 schrieb JP: Hello, I am currently using PPPoE on FreeBSD 5.2, I have a need to forward internet traffic on certain ports to a private IP address behind the box. How can this be accompished? For instance, inbound traffic arriving on public IP

port forwarding and ip-less firewall

2004-02-25 Thread Edison Cala
hello list! i want to ask some help on port forwarding in a bridge-firewall network. our network setup is: 1. the router is outside the firewall, direct to the internet. 2. the bridge-firewall computer (2 ethernet cards installed, eth0 - outside (router), eth1 - protected network) is between

RE: port forwarding and ip-less firewall

2004-02-25 Thread JJB
Really hard to help you when you do not post what firewall you are using and the nat rules you are using. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Edison Cala Sent: Wednesday, February 25, 2004 4:20 AM To: [EMAIL PROTECTED] Subject: port forwarding

Re: port forwarding and ip-less firewall

2004-02-25 Thread Nathan Kinkade
On Wed, Feb 25, 2004 at 05:19:35PM +0800, Edison Cala wrote: hello list! i want to ask some help on port forwarding in a bridge-firewall network. our network setup is: 1. the router is outside the firewall, direct to the internet. 2. the bridge-firewall computer (2 ethernet cards

RE: port forwarding and IP-less firewall

2004-02-25 Thread Edison Cala
hello again list! my firewall is setup in freebsd 4.5 and had not implemented nat. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Port Forwarding

2004-01-22 Thread Rishi Chopra
James, I've configured my Win2k box to contact DNS directly, and both Direct Connect and VNC Server are running smoothly (port forwarding is being accomplished (per your suggestion) by natd.conf). I've set the firewall type to 'OPEN' (the Win2k client has ZoneAlarm protection of its own

Re: Port Forwarding

2004-01-22 Thread James Earl
and VNC Server are running smoothly (port forwarding is being accomplished (per your suggestion) by natd.conf). I've set the firewall type to 'OPEN' (the Win2k client has ZoneAlarm protection of its own); this is truly the only sticking point. I'm under the impression that selecting 'SIMPLE

Re: Port Forwarding

2004-01-20 Thread James Earl
On Mon, 2004-01-19 at 21:04, Rishi Chopra wrote: No, those are the values in the file. I had posted a previous question to the list asking what the right values should be (my rl0 interface is configured via DHCP) - any ideas what I should put in this section? James Earl wrote: On Mon,

Re: Port Forwarding

2004-01-20 Thread James Earl
If you want your gateway to forward DNS queries from your private network, you will probably have to run named to answer the DNS queries and forward them out to your ISP's name servers. You may also want to run a DHCP server. I don't believe ipfw has the forwarding capability your looking for in

Port Forwarding

2004-01-19 Thread Rishi Chopra
What I want to do: (1) Change firewall type from 'OPEN' to 'SIMPLE' and (2) Forward ports 412 and 5800 to my Win2k box. What I have: The setup is pictured below. IPFIREWALL_DEFAULT_TO_ACCEPT, IPDIVERT and IPFILTER are all enabled in my kernel config file, are also enabled. Rule-of-thumb

Re: Port Forwarding

2004-01-19 Thread James Earl
On Mon, 2004-01-19 at 13:58, Rishi Chopra wrote: What I want to do: (1) Change firewall type from 'OPEN' to 'SIMPLE' and (2) Forward ports 412 and 5800 to my Win2k box. What I have: The setup is pictured below. IPFIREWALL_DEFAULT_TO_ACCEPT, IPDIVERT and IPFILTER are all enabled in my

Re: Port Forwarding

2004-01-19 Thread James Earl
On Mon, 2004-01-19 at 13:58, Rishi Chopra wrote: Here's the rc.firewall file, with comments trimmed for formatting: [Ss][Ii][Mm][Pp][Ll][Ee]) # set these to your outside interface network and netmask and ip oif=rl0 omask=255.255.255.0

Re: Port Forwarding

2004-01-19 Thread Rishi Chopra
No, those are the values in the file. I had posted a previous question to the list asking what the right values should be (my rl0 interface is configured via DHCP) - any ideas what I should put in this section? James Earl wrote: On Mon, 2004-01-19 at 13:58, Rishi Chopra wrote: Here's the

NWN and port forwarding under FreeBSD 4.7

2004-01-16 Thread Budec
Anyone run NWN though a FreeBSD firewall/natd setup? Been trying to get this running for over a week and starting to get very frustrated with it. :( Here is how my network is setup: {internet} - [public ips 6-9] DC1 (Firewall) DC0 -[private ips 25-26] - NWN server Here are the techinal

Port forwarding

2004-01-12 Thread Budec
Hello, I have been trying to get this working for days and am obviously doing something wrong and was wondering if any Guru's out there could give a little guidance. Basically I'm looking to run a game server behind a FreeBSD firewall. Here is my setup: {internet} - [public address] -

RE: Port forwarding

2004-01-12 Thread Budec
To: 'FreeBSD-questions list' Subject: Port forwarding Hello, I have been trying to get this working for days and am obviously doing something wrong and was wondering if any Guru's out there could give a little guidance. Basically I'm looking to run a game server behind a FreeBSD firewall. Here

RE: Port forwarding

2004-01-12 Thread Budec
-questions list' Subject: RE: Port forwarding Jack, Well, a tcpdump trace should prove whether the traffic is pasing. Do you have one? Ron Clark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Budec Sent: Monday, January 12, 2004 8:15 PM

RE: NATD Port Forwarding Problems

2003-08-06 Thread Philip Payne
Hi, Hi all...I'm at a dead end here. I'm trying to setup my firewall/nat box to forward requests on externalIP:portA to internalPC:portB. I put 'natd_flags=-redirect_port tcp 1internalPC:portB portA ' in my rc.conf file, and I have the following three statements in my rc.firewall

NATD Port Forwarding Problems

2003-08-05 Thread Brian McCann
Hi all...I'm at a dead end here. I'm trying to setup my firewall/nat box to forward requests on externalIP:portA to internalPC:portB. I put 'natd_flags=-redirect_port tcp 1internalPC:portB portA ' in my rc.conf file, and I have the following three statements in my rc.firewall script: ipfw add

NAT Port Forwarding with PPPoE won't work

2003-06-06 Thread Yeah!
Hey All--- I need some help, I'm trying to forward ports 5800-6000 on a PPPoE broadband connection to allow a program called VNC to work. I have tried everything but it seems to fail. I know VNC is working fine as I can do a telnet localhost 5800 and it works from the local box. But from

how to do port forwarding

2003-03-19 Thread Darryl Hoar
Greetings, I have a firewall running 4.7-stable. It has ipftable, and nat. It is my firewall for my home lan. I am wanting to play a game with friends on the internet. I also want to host a multiplayer game on my machine. How do I setup the firewall to forward port 5310 to my windows 2000 pc

Re: how to do port forwarding

2003-03-19 Thread Daniel Bye
On Wed, Mar 19, 2003 at 09:53:05AM -0600, Darryl Hoar wrote: Greetings, I have a firewall running 4.7-stable. It has ipftable, and nat. It is my firewall for my home lan. I am wanting to play a game with friends on the internet. I also want to host a multiplayer game on my machine. How

RE: how to do port forwarding

2003-03-19 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote: Greetings, I have a firewall running 4.7-stable. It has ipftable, and nat. It ^ hmmm.. You want to have a look at rdr in man (5) ipnat is my firewall for my home lan. I am wanting to play a game with

Re: how to do port forwarding

2003-03-19 Thread Bill Moran
Darryl Hoar wrote: Greetings, I have a firewall running 4.7-stable. It has ipftable, and nat. It is my firewall for my home lan. I am wanting to play a game with friends on the internet. I also want to host a multiplayer game on my machine. How do I setup the firewall to forward port 5310 to

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-16 Thread Matthew Ryan
On Saturday, March 15, 2003, at 03:06 am, Bill Moran wrote: Matthew Ryan wrote: On Saturday, March 15, 2003, at 12:13 am, Lowell Gilbert wrote: Fact is, natd _only_ redirects from the interface is was told to bind to. I'm not exactly sure why the packets don't route out and back in when you

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-16 Thread Bill Moran
Matthew Ryan wrote: On Saturday, March 15, 2003, at 03:06 am, Bill Moran wrote: Matthew Ryan wrote: On Saturday, March 15, 2003, at 12:13 am, Lowell Gilbert wrote: Fact is, natd _only_ redirects from the interface is was told to bind to. I'm not exactly sure why the packets don't route out

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-15 Thread Lowell Gilbert
Matthew Ryan [EMAIL PROTECTED] writes: On Saturday, March 15, 2003, at 12:13 am, Lowell Gilbert wrote: Fact is, natd _only_ redirects from the interface is was told to bind to. I'm not exactly sure why the packets don't route out and back in when you try it from inside, but they

Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Matthew Ryan
Hi there, I've been trying to route packets received on port via the external interface (used by NAT) of my FreeBSD gateway to the same port on a local machine. The manual would seem to make this simple stuff - I have added the following line to /etc/rc.conf: natd_flags=-redirect_port

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Daniel Bye
On Fri, Mar 14, 2003 at 10:30:28AM +, Matthew Ryan wrote: Hi there, I've been trying to route packets received on port via the external interface (used by NAT) of my FreeBSD gateway to the same port on a local machine. The manual would seem to make this simple stuff - I have

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Matthew Ryan
Thanks Dan Unfortunately that doesn't seem to work either. I get this when I enter on the command line: natd -n ep0 -redirect_port tcp 192.168.1.241: natd: Unable to create divert socket.: Operation not permitted and no results using the following in /etc/rc.conf: natd_flags=-n ep0

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Bill Moran
Daniel Bye wrote: On Fri, Mar 14, 2003 at 10:30:28AM +, Matthew Ryan wrote: natd -redirect_port tcp 192.168.1.241: but here's what i get: natd: aliasing address not given That's because natd can't determine which interface it should use for aliasing. Try specifying it with the

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Daniel Bye
On Fri, Mar 14, 2003 at 01:07:42PM +, Matthew Ryan wrote: Thanks Dan Unfortunately that doesn't seem to work either. Rats! I get this when I enter on the command line: natd -n ep0 -redirect_port tcp 192.168.1.241: natd: Unable to create divert socket.: Operation not

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Bill Moran
Daniel Bye wrote: On Fri, Mar 14, 2003 at 01:07:42PM +, Matthew Ryan wrote: Thanks Dan Unfortunately that doesn't seem to work either. Rats! I get this when I enter on the command line: natd -n ep0 -redirect_port tcp 192.168.1.241: natd: Unable to create divert socket.: Operation

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Matthew Ryan
Bill and Dan, Thanks for your help guys it's sort of working now but for the record here's the story. All attempts to start port forwarding from the command line were failing because NATD was already running (enabled at boot time) DOH! b) natd isn't already running with different options when

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Lowell Gilbert
Bill Moran [EMAIL PROTECTED] writes: Matthew Ryan wrote: The /etc/rc.conf entry: natd_flags=-redirect_port tcp 192.168.1.241: was fine since: natd_interface=ep0 specified the interface. All in all I just should have posted the whole of my /etc/rc.conf in the first place.

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Matthew Ryan
On Saturday, March 15, 2003, at 12:13 am, Lowell Gilbert wrote: Fact is, natd _only_ redirects from the interface is was told to bind to. I'm not exactly sure why the packets don't route out and back in when you try it from inside, but they don't ;( so you always need to test it from the

Re: Port Forwarding FreeBSD 4.7_Release

2003-03-14 Thread Bill Moran
Matthew Ryan wrote: On Saturday, March 15, 2003, at 12:13 am, Lowell Gilbert wrote: Fact is, natd _only_ redirects from the interface is was told to bind to. I'm not exactly sure why the packets don't route out and back in when you try it from inside, but they don't ;( so you always need to

natd port forwarding acting wierd

2003-01-16 Thread WillyB
Hi I finally got natd and ipforwading set up but have a slight problem I don't understand. The IP forwarding works from the internet, through the cable modem and through the freeBSD router I set up for my internal network, to a www server on the private lan. I can't connect to my server

Re: natd port forwarding acting wierd

2003-01-16 Thread Matthew Seaman
On Thu, Jan 16, 2003 at 01:49:08AM -0700, WillyB wrote: I finally got natd and ipforwading set up but have a slight problem I don't understand. The IP forwarding works from the internet, through the cable modem and through the freeBSD router I set up for my internal network, to a www

Re: natd port forwarding acting wierd

2003-01-16 Thread WillyB
Thanks for your answer and solutions Matthew :) This is my 4th day of using freeBSD and I'm still very new to it. I have used RedHat prior to this and when I could not get it to connect to my ISP via the cable modem I installed freeBSD. ;) Actually.. I don't fully understand the rc.firewall

RE: mac os x 10.2.3 jaguar and port forwarding?

2002-12-31 Thread Aaron Burke
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Freibeuter Sent: Monday, December 30, 2002 04:27 PM To: [EMAIL PROTECTED] Subject: mac os x 10.2.3 jaguar and port forwarding? Ho can I exactly define a rule (and where?) that forwards

Re: mac os x 10.2.3 jaguar and port forwarding?

2002-12-31 Thread Chuck Swiger
Ralph Freibeuter wrote: Ho can I exactly define a rule (and where?) that forwards incoming requests to port 445 (samba?) to an internal machine with lan ip 192.168.2.50 ? The routing Macs IP is 192.168.2.1 and the external IP is given by ISP via pppoe. As someone else mentioned Darwin (aka

mac os x 10.2.3 jaguar and port forwarding?

2002-12-30 Thread Ralph Freibeuter
Ho can I exactly define a rule (and where?) that forwards incoming requests to port 445 (samba?) to an internal machine with lan ip 192.168.2.50 ? The routing Macs IP is 192.168.2.1 and the external IP is given by ISP via pppoe. Please help me. I've already tried: sudo natd -redirect_port tcp

Re: mac os x 10.2.3 jaguar and port forwarding?

2002-12-30 Thread David Schultz
Thus spake Ralph Freibeuter [EMAIL PROTECTED]: Ho can I exactly define a rule (and where?) that forwards incoming requests to port 445 (samba?) to an internal machine with lan ip 192.168.2.50 ? The routing Macs IP is 192.168.2.1 and the external IP is given by ISP via pppoe. Please help

Re: port forwarding

2002-11-22 Thread Kliment Andreev
What is the easiest way of forwarding a port in FreeBSD. Suppose I want my server to listen on port 8280, but want all connection attempts to port 80 to be forwarded to this port ... can that be done? Put this in /etc/ipnat.rules rdr dc0 0/0 port 80 - 127.0.0.1 port 8280 tcp And this in

port forwarding

2002-11-21 Thread Shvetima Gulati
Hi all, What is the easiest way of forwarding a port in FreeBSD. Suppose I want my server to listen on port 8280, but want all connection attempts to port 80 to be forwarded to this port ... can that be done? Thanks, Shv To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: port forwarding

2002-11-21 Thread Marco Radzinschi
On Thu, 21 Nov 2002, Shvetima Gulati wrote: Hi all, What is the easiest way of forwarding a port in FreeBSD. Suppose I want my server to listen on port 8280, but want all connection attempts to port 80 to be forwarded to this port ... can that be done? Thanks, Shv Yes, with IPFilter.

Re: port forwarding

2002-11-21 Thread Axel Gruner
Hiho. On Thu, 21 Nov 2002 18:48:03 -0800 (PST) Shvetima Gulati [EMAIL PROTECTED] wrote: What is the easiest way of forwarding a port in FreeBSD. Suppose I want my server to listen on port 8280, but want all connection attempts to port 80 to be forwarded to this port ... can that be done?

port forwarding/natd...multiple IPs

2002-10-24 Thread Peter
Hello, I got port forwarding to work with one IP, but lets say I have several IP's: natd -n fxp0 -redirect_port 192.168.1.1:25 50 - this works as it connects me to my smtp server if I go to port 50. But as soon as I have several IP's: 192.168.1.1

port forwarding with ppp natd

2002-09-28 Thread Casey Scott
Hi all, I have been through all the documentation I can find, and I still haven't found a definitive answer to my question about port forwarding with a ppp connection. I have a DSL that uses PPPOE, so the system is connected using PPP. I need to forward ports from the server to internal

Confusing problem with SSH port forwarding.

2002-07-11 Thread Philip Hallstrom
Hi all - I've been tearing my hair out for an hour now trying to figure this out and I'm completely stumped. Didn't see anything in the archives which hopefully means I'm just doing somethign stupid, but I don't see it. Here's the environment: win2k_client \

  1   2   >