Author
Message
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Tue Apr 22, 2008 12:55 Post subject:
Ahh yes good call.
Edit: Fixed!
_________________
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Behind a Raspberry Pi Dual WAN router
Back to top
Sponsor
azuretech DD-WRT User Joined: 29 Oct 2007 Posts: 103
Posted: Tue Apr 22, 2008 14:12 Post subject: Seems this may be what I'm looking for...
My ISP allows me to pull up to 3 static IP addresses of our cable modem.... I would like to pull one of these addresses, and route all trafic out to my VPN
Is this possible to do?
ie primary static IP xxx.xxx.xxx.103 all normal traffic on this like a standard setup
2nd static ip xxx.xxx.xxx.104 ll traffic on this IP routed to OpenVPN 192.168.2.1 adapter
Back to top
MrTRiX DD-WRT Novice Joined: 21 Apr 2008 Posts: 6
Posted: Tue Apr 22, 2008 14:16 Post subject:
that firewall.firewall script you posted on page 12 for download is different from the one on page 5, which is the correct and latest?
Back to top
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Tue Apr 22, 2008 15:16 Post subject:
Page 5 is for V23SP2/3, or V24 RC3 and below.
Page 12 is for V24 RC4 and above (at least, i think.....Im using page 12 for RC7 9414)
_________________
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Behind a Raspberry Pi Dual WAN router Last edited by jbarbieri on Tue Apr 22, 2008 15:23; edited 1 time in total
Back to top
MrTRiX DD-WRT Novice Joined: 21 Apr 2008 Posts: 6
Posted: Tue Apr 22, 2008 15:22 Post subject:
If I have v24 RC6 should I use Page 12's firewall.firewall and are any of the other steps or scripts different for my version? Such as "udhcpc-vlan2.script" or "routes.firewall" or the Telnet stuff at the start.
Back to top
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Tue Apr 22, 2008 15:23 Post subject:
RC6 should work with page 12s firewall.
the only difference between the different firmware versions is the firewall.firewall
_________________
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Behind a Raspberry Pi Dual WAN router
Back to top
stalonge DD-WRT Guru Joined: 21 Jul 2006 Posts: 1898 Location: Fortaleza Ce Brazil
Posted: Tue Apr 22, 2008 17:48 Post subject:
RC 6 have some known issue .. flash RC7 9414 it's much better
_________________ DDwrt ...it rocks ....
1 R7800 54420 AP Wireguard webserver JFFS SAMBA FTP usb HD Mesh
1 R7800 54420 Cli Mesh
1 WZR1750 54389 AP Webserver Samba Wireguard
1 TP link Archer C7v5 54420 Cli Mesh
1 DD x86_64 48296 Gateway Samba Ftp Webserver
Back to top
MrTRiX DD-WRT Novice Joined: 21 Apr 2008 Posts: 6
Posted: Tue Apr 22, 2008 18:15 Post subject:
I just recently read that the WRT150N does not support vlan. Is this wrong? Can I do this on a WRT150N? I do see a VLAN tab and the post mentioning it not working is old. Has a new firmware fixed this?
Back to top
trickstar DD-WRT Novice Joined: 18 Mar 2007 Posts: 24
Posted: Tue Apr 22, 2008 19:13 Post subject:
when adding the 2nd modem (on vlan2) what mac address does it use? because when adding the first modem to the wan port you have to clone your nic's mac address to the router.
how can i check the mac interfaces assigned to the ports?
hope you understand what i mean.
regards
star
Back to top
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Tue Apr 22, 2008 19:15 Post subject:
It creates a new mac address when you create a new vlan.
After you enable vlan in the webgui and through telnet/ssh, reboot, then do:
ifconfig vlan2
and it will show you the mac address:
Code:
root@xwing:/jffs/scripts# ifconfig vlan2
vlan2 Link encap:Ethernet HWaddr 00:13:10:78:8D:86
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1180489 errors:0 dropped:0 overruns:0 frame:0
TX packets:418773 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1042018323 (993.7 MiB) TX bytes:38237368 (36.4 MiB)
root@xwing:/jffs/scripts#
_________________
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Behind a Raspberry Pi Dual WAN router
Back to top
stalonge DD-WRT Guru Joined: 21 Jul 2006 Posts: 1898 Location: Fortaleza Ce Brazil
Posted: Tue Apr 22, 2008 20:35 Post subject:
JB
Post with new changes all the scripts that i will test tonight (again )
_________________ DDwrt ...it rocks ....
1 R7800 54420 AP Wireguard webserver JFFS SAMBA FTP usb HD Mesh
1 R7800 54420 Cli Mesh
1 WZR1750 54389 AP Webserver Samba Wireguard
1 TP link Archer C7v5 54420 Cli Mesh
1 DD x86_64 48296 Gateway Samba Ftp Webserver
Back to top
cchance DD-WRT Novice Joined: 20 Mar 2007 Posts: 4
Posted: Tue Apr 22, 2008 21:12 Post subject: ?
so... im running a ddwrt latest beta on whrg54s ...
can someone post the proper codes to do this ... as they seem to have changed a few times over the corse of these posts...
im gonna use 2 routers to manage the connections themselves so that the main loadbalancer will have static ips for both interfaces...
has anyone wrote a failover script yet?
Back to top
MrTRiX DD-WRT Novice Joined: 21 Apr 2008 Posts: 6
Posted: Tue Apr 22, 2008 22:09 Post subject:
It would be easier if you just modified your first post with the new code in there so we don't need to go around from page to page.
Back to top
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Posted: Wed Apr 23, 2008 12:24 Post subject:
Ok, I will change the first post, but also put them here:
The last attachment will be added in another post (3 attachment limit).
Description:
Rename to firewall.firewall and upload, or open in wordpad and copy/paste. For V24RC4 and above!!
Download
Filename:
firewall-v24.firewall.txt
Filesize:
5.31 KB
Downloaded:
2042 Time(s)
Description:
Use for v23 or v24 BELOW RC4 ONLY! (Remove the .txt and upload or open in wordpad and copy/paste).
Download
Filename:
firewall.firewall.txt
Filesize:
4.77 KB
Downloaded:
1552 Time(s)
Description:
Remove the .txt and upload, or open in wordpad and copy/paste.
Download
Filename:
routes.firewall.txt
Filesize:
849 Bytes
Downloaded:
1761 Time(s)
_________________
Linksys EA6500v2 | 5GHz 1st Floor AP | Advanced Tomato 1.28.0000 -2.9-131 K26ARM USB AIO-64K
Netgear WNR2000v3 | 2nd Floor AP | DD-WRT v3.0-r27805 std
Behind a Raspberry Pi Dual WAN router Last edited by jbarbieri on Wed Apr 23, 2008 12:45; edited 1 time in total
Back to top
jbarbieri DD-WRT Guru Joined: 06 Apr 2007 Posts: 545 Location: New Hampshire
Back to top