News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Firewall/NAT
Topic: Mulitple IP's on WAN interface
Pages: [
1
]
Topic: Mulitple IP's on WAN interface (Read 4102 times)
Mulitple IP's on WAN interface
« on: May 24, 2007, 06:23:10 »
dusty_nz
Posts: 6
How do I setup the wan interface to listen on 3 seperate IPs'
It is firewalling three sepereate internal Servers all running https applications. I have gone into the server nat page and added the two extra IP's. Configured the NAT to use the IP but not getting any connections.
I imagine its just a simple case of setting up virtual IPS but can't see how to make it work.
Paul
«
Last Edit: May 24, 2007, 06:29:08 by dusty_nz
»
Re: Mulitple IP's on WAN interface
« Reply #1 on: May 24, 2007, 15:30:17 »
clarknova
Posts: 148
It sounds to me like you need 1:1 NAT. You may also need proxy ARP, and make sure your firewall rules allow connections to the IP addresses you're using.
http://doc.m0n0.ch/handbook/nat.html
db
Re: Mulitple IP's on WAN interface
« Reply #2 on: May 25, 2007, 02:48:01 »
dusty_nz
Posts: 6
I presume that by adding 1:1 mapping then I would be opening up the entire port range.
I can't do this. All I want to do is map 3 external IP/ports to three internal IP/ports
eg x.x.x.x:443 to y.y.y.y:443
Re: Mulitple IP's on WAN interface
« Reply #3 on: May 25, 2007, 17:33:24 »
clarknova
Posts: 148
You can firewall 1:1 NAT addresses. Just add a rule allowing incoming tcp connections with destination x.x.x.x:443. The remaining ports on x.x.x.x should be blocked by default, but if you want to be sure, then add a second rule blocking all traffic to x.x.x.x. Do this for each of your 1:1 addresses.
db
Re: Mulitple IP's on WAN interface
« Reply #4 on: May 26, 2007, 12:17:38 »
decibel83
Posts: 5
If I add some NAT 1:1 rules, will I able to access to the natted IPs from the LAN network too?
Bye!
Re: Mulitple IP's on WAN interface
« Reply #5 on: May 26, 2007, 17:56:17 »
clarknova
Posts: 148
Using the public IP, no:
http://doc.m0n0.ch/handbook/faq-lannat.html
Using the LAN IP, yes.
db
Re: Mulitple IP's on WAN interface
« Reply #6 on: May 26, 2007, 20:42:29 »
decibel83
Posts: 5
Isn't there any workaround to solve this?
Re: Mulitple IP's on WAN interface
« Reply #7 on: May 27, 2007, 07:26:15 »
cmb
Posts: 851
Quote from: decibel83 on May 26, 2007, 20:42:29
Isn't there any workaround to solve this?
Read the FAQ that was just linked.
Re: Mulitple IP's on WAN interface
« Reply #8 on: June 15, 2007, 21:48:53 »
wolf
Posts: 12
dusty, try to read here
http://doc.m0n0.ch/handbook/faq-ipalias.html
and here
http://doc.m0n0.ch/handbook/examples.html
bye
Pages: [
1
]