Can someone please help me get this worked out?
Nate

> Ok these are my nat rules now, I didn't see a command to change the rule
> numbers so i just redid them all by hand.  It still doesn't work.
> 
>  rule 1 {
>         type: "destination"
>         inbound-interface: "eth0"
>         protocols: "tcp"
>         destination {
>             address: "71.62.193.105"
>             port-name http
>         }
>         inside-address {
>             address: 192.168.0.105
>         }
>     }
>     rule 2 {
>         type: "masquerade"
>         outbound-interface: "eth0"
>         protocols: "all"
>         source {
>             network: "192.168.0.0/24"
>         }
>         destination {
>             network: "0.0.0.0/0"
>         }
>     }
>     rule 3 {
>         type: "masquerade"
>         outbound-interface: "eth0"
>         protocols: "all"
>         source {
>             network: "192.168.1.0/24"
>         }
>         destination {
>             network: "0.0.0.0/0"
>         }
>     }
> 
> Nate
> 
> On Mon, 2008-01-28 at 21:39 -0800, An-Cheng Huang wrote:
> > Hi Nate,
> > 
> > The "inside-address" is the internal (private) IP address of your Web 
> > server, which in your case is 192.168.0.105. The "destination address" 
> > should actually be the public IP address that outside clients will use to 
> > access your server, so usually this is the public IP address of your router.
> > 
> > An-Cheng
> > 
> > Nathan McBride wrote:
> > > I went and looked at the old docs.  I thought I set them up correctly
> > > but aparently I didn't.  I'll im trying to do is to get people on the
> > > internet to view the website on my comp (192.168.0.105).  The only
> > > difference that i noticed when I tried to commit the example in the old
> > > docs was that vc3 requires an 'inside-address'.  Could someone please
> > > help me correct this to get it working?
> > > 
> > > rule 3 {
> > >         type: "destination"
> > >         inbound-interface: "eth0"
> > >         protocols: "tcp"
> > >         destination {
> > >             address: "192.168.0.105"
> > >             port-name http
> > >         }
> > >         inside-address {
> > >             address: 192.168.0.105 <-- didn't know what to put here
> > > exactly...
> > >         }
> > >     }
> > > 
> 
> _______________________________________________
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users

_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to