Posted: Tue Mar 22, 2011 20:35 Post subject: One-to-One NAT pointing all IPs at Router???
I have followed the tutorial to set up One-to-One NAT. We currently have 13 external IPs.. and for some reason, every single external IP address is pointing at the router instead of the machines I am pointing them at. Here is the script I used:
####################################
#Add additional IP addresses to WAN#
####################################
You need to read the wiki. Your WAN interface appears to be vlan2 not vlan1.
http://www.dd-wrt.com/wiki/index.php/One-to-one_NAT _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Posted: Thu Mar 24, 2011 15:47 Post subject: vlan2 not working
Thanks for the reply phuzi0n
Unfortunately, if I set the interface to vlan2, it is making all IPs on the network on unpingable from outside. Is there any other possible problem with my script that I need to fix in addition to the vlan2 problem? Or a command I could run to show what is going wrong?
And thanks, but I already read that wiki page about 10 times, lol.
Posted: Thu Mar 24, 2011 16:16 Post subject: same problem with vlan2?
Okay, I tried rewriting the script with VLan2 further..
even with Vlan2, all 13 external IP addresses are pointing at the router??? This includes both IPs that I have routed in the second part of my script, and the ID addresses I have not routed.
Quote:
####################################
#Add additional IP addresses to WAN#
####################################
Posted: Thu Mar 24, 2011 18:06 Post subject: Re: same problem with vlan2?
jccantele49 wrote:
Okay, I tried rewriting the script with VLan2 further..
even with Vlan2, all 13 external IP addresses are pointing at the router??? This includes both IPs that I have routed in the second part of my script, and the ID addresses I have not routed.
Quote:
####################################
#Add additional IP addresses to WAN#
####################################
Remove the bold, it's nothing but trouble. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I've tried making some further changes now.. set the Comcast commercial gateway to do 1-to-1 nat, translating my external IPs (173.x.x.x) to the Comcast internal IPs (10.x.x.x), now I have my script on the dd-wrt 1-to-1 NATing the comcast internal IPs to it's internal IP addresses.. this is my current script:
Quote:
####################################
#Add additional IP addresses to WAN#
####################################
I suspect that the ISP gateway doesn't like all your IP's having the same MAC address and it's not possible to use multiple MAC's on the same interface in dd-wrt. You can try to use VLAN's to switch some devices directly with the ISP gateway instead of doing static NAT but you might not like that alternative. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
ah, yes, could you point me where I could try that with VLans? On last Thursday, I was able to get everything working through the help of someone on the IRC channel remoting into the device and creating IP tables via SSH. I think what he did was through creating multiple vlans..
He said he'd email me a startup script that I could use.. but then never did. And the device rebooted and now I am back to where I started..
It will only work if you have Broadcom based hardware.
http://www.dd-wrt.com/wiki/index.php/Public_Sub-Net_Over_Dynamic_WAN _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)