|
||||||||||
On 10/17/05, stha at tiscali dot dk <stha at tiscali dot dk> wrote: > Hi > I have the following setup : > > ISP ADSL2+ line > | > Linksys WAG354G modem/router (WAN:static public IP, LAN Static IP 192.168.1.1) > | > M0n0wall (WAN: static 192.168.1.2, LAN 192.168.0.1) > | (LAN-side is DHCP server 192.168.0.2 - 192.168.0.254) > | > PC's and VOIP adaptors (192.168.0.x) > > This setup uses 2xNAT routing, and this causes trouble for the VOIP-adaptors. > The M0n0wall is used for the "traffic shaping" feature for VOIP-traffic. > > I want to use single NAT-routing. Could this be done with a "static route" > in the WAG354G and disable NAT in the M0n0wall ? > Yes. > Is this right? > In the WAG354G: Static route #1 > Destination IP Address : 192.168.0.0/24 not sure how this GUI works, but if you have a subnet mask defined, you probably want 192.168.0.0 without the CIDR mask. > Subnet Mask: 255.255.255.0 > Gateway: static public IP at the WAN-side of the WAG354G Gateway must be the WAN IP address of m0n0wall. > Hop Count: 1 > > In the M0n0wall: > Enable Outbound NAT : yes > No defined rules in the Outbound NAT-section. > other than that, make sure the "block private networks" is disabled on m0n0wall's WAN, and everything should work just fine. -Chris |