News: This forum is now permanently frozen.
Pages: [1]
Topic: NAT to private IP adress  (Read 3497 times)
« on: May 23, 2007, 13:42:15 »
dfilkovi *
Posts: 15

My setup is this.
Dynamic IP address (89.189.98.12)
                          I
                          I
               monowall (WAN)
               monowall LAN ip: 192.168.1.1
                          I
                          I
               server lan ip: 192.168.2.1

Server is not connected to internet and is configured to comunicate only with clients which ip is in 192.168.x.x subnet.
So how can I configure NAT when I make request from 89.189.98.12 that it sends request to server but with monowall ip address so that server firewall accepts the connection?
Inbound NAT doesn't work because monowall transfers request to server but server rejects 89.189.98.12 because that ip address isn't in servers allowed ip range.

Thank you.

« Reply #1 on: May 27, 2007, 07:37:18 »
cmb *****
Posts: 851

Sounds like what you're asking for is source NAT'ing, which isn't possible in m0n0wall.
« Reply #2 on: May 30, 2007, 11:40:02 »
dfilkovi *
Posts: 15

Isn't something like that possible with monowall Proxy function?
« Reply #3 on: May 31, 2007, 00:24:48 »
cmb *****
Posts: 851

I have no idea what you mean by "proxy function", but it's not possible at all, in any fashion, to NAT source addresses with m0n0wall.
« Reply #4 on: June 07, 2007, 19:07:57 »
brugh *
Posts: 7

i use a little trick for stuff like this. unsure if you can solve your problem this way but here's how i reverse nat on monowall:
make a rule from wan to lan that does what you want to
save the configuration
edit it in 'vi' or wordpad
find the rule
reverse LAN and WAN in the rule
save file
upload / restore config
and you have a reverse rule that's working perfectly Wink probably not supported and from the interface it shows empty fields where LAN and WAN should be.. but hey it works  Grin
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines