Correction it's:
ipfwadm -F -am -S 192.168.3.0/24 -D 0.0.0.0/0
:)
-----Original Message-----
From: Ron Harwood <harwoodr@xxxxxxxxxxxxxxxx>
To: linux-virtualserver@xxxxxxxxxxxx <linux-virtualserver@xxxxxxxxxxxx>
Date: Friday, January 01, 1999 1:18 PM
Subject: VS: What am I doing wrong?
>Hey all:
>
>I'm trying to do the following - I have a Linux box as my gateway between
my
>cablemodem and my LAN. I'd like to send port 80 from my gateway (external
>side: eth1 24.226.X.Y where X and Y are the remainder of my address) to 6
>internal hosts (named node1 - node6 at addresses 192.168.3.201 - 206 )
>
>I've issued the following commands:
>
>ipfwadm -F -a m -S 24.226.X.Y/32 -D 0.0.0.0/0
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.201:80
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.202:80
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.203:80
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.204:80
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.205:80
>ippfvsadm -A -t 24.226.X.Y:80 -R 192.168.3.206:80
>
>However, all off my attempts to access the web-page will not work (httpd is
>not running on the gateway)...
>
>ippfvsadm -L will show that there are connections...
>
>The IPmasq all seems to work as systems can get out onto the 'net no
>problem, and the GW can access the internal systems as well...
>
>So what am I doing wrong?
>
>Also, does anyone have an example script for something similar to this with
>both their IPmasq and VS stuff in it?
>
>Regards,
>
>Ron Harwood
>
>
|