News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Firewall/NAT
Topic: NAT setup please help
Pages: [
1
]
Topic: NAT setup please help (Read 1772 times)
NAT setup please help
« on: June 27, 2007, 02:21:55 »
dfilkovi
Posts: 15
I have a monowall router with lan and opt1 interface.
Lan is 192.168.0.1 and opt1 is 10.20.2.108 (works in bss mode and connects to wireless network)
I have a static route in monowall with interface opt1 and 10.0.0.0/8 with gateway 10.20.2.1 so I can reach other computers in that wireless network, and they all ping fine from monowall.
Next I connect PC by lan to monowall with ip 192.168.0.2 and gateway 192.168.0.1, I added route 10.0.0.0/8 with gateway 192.168.0.1 but I still can't reach no other ip than 10.20.2.108 from that PC.
Do I need to setup any kind of nat?
How to solve this problem please.
Re: NAT setup please help
« Reply #1 on: June 27, 2007, 11:51:28 »
dfilkovi
Posts: 15
Here is the graphical scheme for better understanding,
So the problem is that the PC behind monowall can't reach anything beyond 10.20.2.108,
while monowall pings everything in 10.x.x.x range.
scheme.JPG
(18.51 KB, 672x239 - viewed 319 times.)
Re: NAT setup please help
« Reply #2 on: June 28, 2007, 05:07:19 »
cmb
Posts: 851
Sounds like m0n0wall is setup fine. Are the routes on 10.20.2.1 setup properly to direct 192.168.0.0/24 to m0n0wall?
Re: NAT setup please help
« Reply #3 on: June 28, 2007, 23:18:56 »
dfilkovi
Posts: 15
I found the solution, everything was fine after I added outbound NAT routing 192.0.0.0/8 to 10.0.0.0/8.
Pages: [
1
]