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

Re: IP masquerading rules



I figured out my first question.

On Fri, 24 Mar 2000, Jeremy C. Reed wrote:

> When I do a:
>   ipfwadm -F -a m -S 10.2.1.0/24 -D 0.0.0.0/0
> on the Linux router, the webserver has access to the world. But then I can
> no longer ssh to it from my workstation. I can also no longer get
> webpages from it. I CAN still ping it. 

I fixed this by making my first rule:
  ipfwadm -F -a accept -S 10.2.1.0/24 -D 216.abc.def.0/24

> 2) How do I set it up so my router will route all (from the outside world)
> traffic to one of its IPs to the 10.2.1.235 internal IP? 
> 
> If you have any specific URLs, I'd appreciate it. Thanks.

Now I'll look at ipportfw. (I though ipfwadm could do it.)

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net


Reply to: