R7000 and IPv6

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 35, 36, 37  Next
Author Message
mrengles
DD-WRT User


Joined: 25 Feb 2010
Posts: 255

PostPosted: Fri Feb 06, 2015 21:55    Post subject: Reply with quote
JAMESMTL wrote:
Yes, that ruleset will only allow external icmpv6 traffic to the router (needed) and return traffic which originally originated by the router.

For the devices connected to the router only external echo requests and return traffic to sessions opened by the devices.

Everything else gets dropped


Perfecto!
Sponsor
mr.emme
DD-WRT Novice


Joined: 12 Dec 2014
Posts: 9

PostPosted: Wed Feb 18, 2015 23:38    Post subject: Reply with quote
@Jamesmtl

Sorry for my late replay.... I' è been out for a while and non I'm trying to have it working Razz

We were discussing about IPv6 passthrough... I agree it would't be a great idea.... But can we try to' manage it?
Is Thiene a script I can run to have it woking that way?

Acutally as a workaround I'm Connecting via cable to my r7000 for IPv4 and to my carrier Wi-Fi only wih IPv6 protocol, a passthrough would be the same with one connection

Thanks
Regards
M
MacInTheNet
DD-WRT Novice


Joined: 18 Nov 2014
Posts: 38

PostPosted: Thu Feb 19, 2015 2:00    Post subject: Reply with quote
T9 (italian) did it again xD
LoL
JAMESMTL
DD-WRT Guru


Joined: 13 Mar 2014
Posts: 856
Location: Montreal, QC

PostPosted: Thu Feb 19, 2015 4:31    Post subject: Reply with quote
mr.emme wrote:
@Jamesmtl

Sorry for my late replay.... I' è been out for a while and non I'm trying to have it working Razz

We were discussing about IPv6 passthrough... I agree it would't be a great idea.... But can we try to' manage it?
Is Thiene a script I can run to have it woking that way?

Acutally as a workaround I'm Connecting via cable to my r7000 for IPv4 and to my carrier Wi-Fi only wih IPv6 protocol, a passthrough would be the same with one connection

Thanks
Regards
M


If you can wait till the weekend I can give it a try. I'm a little overloaded until then
mr.emme
DD-WRT Novice


Joined: 12 Dec 2014
Posts: 9

PostPosted: Thu Feb 19, 2015 7:18    Post subject: Reply with quote
James,

no rush! thanks in advance for your help!!!

and please apologize my Apple Italian T9.... it really sucks!!!! Rolling Eyes
JAMESMTL
DD-WRT Guru


Joined: 13 Mar 2014
Posts: 856
Location: Montreal, QC

PostPosted: Mon Mar 30, 2015 4:38    Post subject: Reply with quote
wutno wrote:
Thought I would just bump this thread.

The script http://www.dd-wrt.com/phpBB2/viewtopic.php?p=914475#914475 worked perfectly with Charters 6rd server on R7000 with Kongs 26500M:D


Good to hear it's working for you. I should be updating the script later this week with a few tweeks for users using dnsmasq for RAs on newer ddwrt builds.

Should also be posting an ipv6 passthrough set of scripts for users stuck with ISPs using passthrough.
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Sun Apr 19, 2015 9:43    Post subject: Reply with quote
@JAMESMTL
I need some of your help. I am using 6in4 with HE.
When using this tunnel, ppp1 interface is being created. There is no way using torrentz with ipv6 because my router keep restarting all the time. I don't have such behaviour with ipv4. When I telneted to my router and did "top" command I saw that UPnP is eating my CPU on ppp1 interface... Is there anything I can do. I think the problem is firewall...

JAMESMTL
DD-WRT Guru


Joined: 13 Mar 2014
Posts: 856
Location: Montreal, QC

PostPosted: Mon Apr 20, 2015 6:58    Post subject: Reply with quote
@Mile-Lile

Interesting. Did you manually start up upnp on ppp1 or did did-wrt start it up? Is upnp running on ppp0? (I assume you are PPPoE on ppp0)

Has your 6in4 always been on ppp1 or is that new? I run a script but last time I tested 6in4 via webif it was on ip6tun for me. I can't take any routers down for a couple of days to test if there has been a change with the FW.

If you kill -9 upnp process does watchdog restart it?

You may want to test by setting webif to native IPv6 (leave everything blank) and creating the tunnel manually via startup command but give it a name other than ppp1 if ddwrt is starting upnp automatically.

ip tunnel add ip6tun mode sit ttl 64 local $(nvram get wan_ipaddr) remote XXX.XXX.XXX.XXX
ip link set ip6tun mtu 1472
ip link set ip6tun up
ip -6 addr add 2001:470:XXXX:XXXX::2/64 dev ip6tun
ip -6 addr add 2001:470:XXXX:XXXX::1/64 dev br0
ip -6 route add 2000::/3 dev ip6tun

Does ddwrt start upnp on ip6tun?

If you want upnp on tunnel then I don't know if that upnp daemon is IPv6 compatible.

Can your torrent cli work with a fixed port via IPv6?

If yes then you just need to open that port in ip6tables but that also means using either using dnsmasq for dhcpv6 and reserving an IPv6 address for that device. You call also use dhcp6s (more complicated because of duid), or set a static adresse on device)

I'll keep an eye on this thread to see if you have any additional info and we'll go from there
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Mon Apr 20, 2015 8:36    Post subject: Reply with quote
Q. Interesting. Did you manually start up upnp on ppp1 or did did-wrt start it up

A. Didn't start it manually on ppp1, I did it from GUI, so dd-wrt start it up...

Q. Is upnp running on ppp0? (I assume you are PPPoE on ppp0)

A. Yes, and yes...

Q. Has your 6in4 always been on ppp1 or is that new?

A. Here is ifconfig output:

ath0 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
inet6 addr: fe80::12fe:edff:feba:eaf0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:114013 errors:0 dropped:0 overruns:0 frame:0
TX packets:170478 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17087747 (16.2 MiB) TX bytes:153764711 (146.6 MiB)
ath0.sta1 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
inet6 addr: fe80::12fe:edff:feba:eaf0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:237729 errors:0 dropped:0 overruns:0 frame:0
TX packets:351035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:56220685 (53.6 MiB) TX bytes:383106892 (365.3 MiB)
br0 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::12fe:edff:feba:eaf0/64 Scope:Link
inet6 addr: 2001:470:1f15:126d::/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:348603 errors:0 dropped:0 overruns:0 frame:0
TX packets:493129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:67500207 (64.3 MiB) TX bytes:518742580 (494.7 MiB)
br0:0 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
inet6 addr: fe80::12fe:edff:feba:eaf0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:502798 errors:0 dropped:0 overruns:0 frame:0
TX packets:351404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:505975853 (482.5 MiB) TX bytes:76018467 (72.4 MiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 10:FE:ED:BA:EA:F0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5
ip6tun Link encap:IPv6-in-IPv4
inet6 addr: 2001:470:1f14:126d::2/64 Scope:Global
inet6 addr: fe80::b2de:3454/128 Scope:Link
UP POINTOPOINT RUNNING NOARP MTU:1452 Metric:1
RX packets:103968 errors:0 dropped:0 overruns:0 frame:0
TX packets:69754 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104726342 (99.8 MiB) TX bytes:11254134 (10.7 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MULTICAST MTU:65536 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1764 (1.7 KiB) TX bytes:1764 (1.7 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:178.222.52.84 P-t-P:178.222.32.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1480 Metric:1
RX packets:468243 errors:0 dropped:0 overruns:0 frame:0
TX packets:322758 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:493241089 (470.3 MiB) TX bytes:68057739 (64.9 MiB)
ppp1 Link encap:Point-to-Point Protocol
inet addr:192.168.2.6 P-t-P:192.168.2.7 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1392 Metric:1
RX packets:1799 errors:0 dropped:0 overruns:0 frame:0
TX packets:2254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:131257 (128.1 KiB) TX bytes:2545491 (2.4 MiB)

But now I see that I am wrong. ppp1 is some kind of pptp... But now I am connected from my wokr to do ifconfig... yesterday that wasn't case...
Not sure about this I'll have to investigate it more. BS did some kind of patch for preventing negative side effect from caching...


Q. Can your torrent cli work with a fixed port via IPv6?
A. Don't know. I use qbittorrent... I'll check it when I get home...

JAMESMTL. Thx for your help and time. I really apreciate it...
PatrickDickey52761
DD-WRT Novice


Joined: 16 May 2015
Posts: 8

PostPosted: Sun Jan 17, 2016 5:36    Post subject: So I'm having a dumb moment.... Reply with quote
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.

I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?

I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.

Have a great day. Smile
Patrick.
mr.emme
DD-WRT Novice


Joined: 12 Dec 2014
Posts: 9

PostPosted: Mon Jan 18, 2016 9:10    Post subject: Re: So I'm having a dumb moment.... Reply with quote
PatrickDickey52761 wrote:
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.

I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?

I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.

Have a great day. Smile
Patrick.

I'm successfully using the passtrugh script, but I'm not a Linux, nor a DDWRT code guru, so I can only help you with my experience:

The jffs partition is needed to do not fullfill the nvram storage.
you should NOT enable the jffs2 option on the UI, but follow this wiki guide

The .ipup should be places in /jffs/etc/config
then you have to issue a "chmod 777 /jffs/etc/yourfile.ipup "

yes, set NATIVE IPv6
ciao
M
PatrickDickey52761
DD-WRT Novice


Joined: 16 May 2015
Posts: 8

PostPosted: Mon Jan 18, 2016 16:55    Post subject: Re: So I'm having a dumb moment.... Reply with quote
mr.emme wrote:
PatrickDickey52761 wrote:
I downloaded the ip6tun.iupup.txt script from this thread and have configured it (hopefully) for Centurylink's IPv6. Now I'm having a dumb moment about what to do with the script next.

I've ssh'ed into my router, and am not sure if I need to create a script called ipup.sh or if there's already one there. And I'm not entirely sure where I want to save the script to. I don't have the jffs mounted, as my router didn't seem to support it (Linksys EA2700 router). So do I need to save it in /etc (if I have write permission there)?

I'll greatly appreciate any help that you can provide me. And yes, I do have IPv6 enabled with "Native IPv6 from ISP" selected in the GUI.

Have a great day. Smile
Patrick.

I'm successfully using the passtrugh script, but I'm not a Linux, nor a DDWRT code guru, so I can only help you with my experience:

The jffs partition is needed to do not fullfill the nvram storage.
you should NOT enable the jffs2 option on the UI, but follow this wiki guide

The .ipup should be places in /jffs/etc/config
then you have to issue a "chmod 777 /jffs/etc/yourfile.ipup "

yes, set NATIVE IPv6
ciao
M


Thank you for the quick reply. The issue that I have is that my router doesn't support USB memory. ALso when I do the jffs partition from the GUI at least, it shows room until I disable the "Clean JFFS". THen it shows 15M/0M for the size. So I'm not sure if I have enough free space for it.

I'll be doing everything inside of the router via telnet/ssh. SO is there a good wiki article for setting up jffs in that manner?

UPDATE: I followed the commands on the wiki for Journaling File System, and when I rebooted, it showed that I was at 72% used on /jffs. When I cd'ed into the directory and tried to create the etc directory, it said "No space left on device." Sure enough using df shows 100% used now.

Here's what I'm seeing on the router (again a Linksys EA2700)

Code:

root@DICKEY:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   15872     15872         0 100% /
/dev/root                15872     15872         0 100% /
none                       512         0       512   0% /dev
/dev/mtdblock/1          31744     22736      9008  72% /jffs
root@DICKEY:~# cd /jffs
root@DICKEY:/jffs# ls
root@DICKEY:/jffs# mkdir etc
mkdir: can't create directory 'etc': No space left on device
root@DICKEY:/jffs# ls
root@DICKEY:/jffs# ls -l
root@DICKEY:/jffs# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   15872     15872         0 100% /
/dev/root                15872     15872         0 100% /
none                       512         0       512   0% /dev
/dev/mtdblock/1          31744     31744         0 100% /jffs


Have a great day. Smile
Patrick.
mr.emme
DD-WRT Novice


Joined: 12 Dec 2014
Posts: 9

PostPosted: Tue Jan 19, 2016 14:18    Post subject: Reply with quote
well, once you enable the jff2 on the UI..that's all you need to do...

/jffs is monted... try tio crate the directory tructur as neded ( /etc/config) and place your .ipup file.

ciao
M
JAMESMTL
DD-WRT Guru


Joined: 13 Mar 2014
Posts: 856
Location: Montreal, QC

PostPosted: Tue Jan 19, 2016 23:50    Post subject: Reply with quote
@PatrickDickey52761

is centurylink static 6rd or dhcp option 212?

how much nvram space do you have free? the script is a tunnel multitool so to speak. Depending on free nvram all non used code can be removed to shrink the script to run via gui.
PatrickDickey52761
DD-WRT Novice


Joined: 16 May 2015
Posts: 8

PostPosted: Wed Jan 20, 2016 0:34    Post subject: Reply with quote
JAMESMTL wrote:
@PatrickDickey52761

is centurylink static 6rd or dhcp option 212?

how much nvram space do you have free? the script is a tunnel multitool so to speak. Depending on free nvram all non used code can be removed to shrink the script to run via gui.


Hi James,

I'm assuming that CenturyLink is static as on their modem you have to make sure the DHCP option is greyed out with "No" selected.

Here's what I see on my status page: NVRAM32.41 KB / 256 KB So I'm guessing I have 32KB free, out of 256KB. Under Memory above that, it shows

Code:

Memory
Total Available
60744 kB / 65536 kB
Free
19572 kB / 60744 kB
Used
68%41172 kB / 60744 kB
Buffers
11%4484 kB / 41172 kB
Cached
11956 kB / 41172 kB
Active
6904 kB / 41172 kB
Inactive
12648 kB / 41172 kB


All I have in my startup script is nvram_set_partialboots=0 and nvram_commit. So would I tweak your script and put it in startup, or create a custom script on the Administration-> commands page?

Thanks for your help. I really don't want to pay $140+ for a modem, if I can get IPv6 working through my router. Although I think my modem is dying, so I might not have a choice...

Have a great day.Smile
Patrick.
Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 35, 36, 37  Next Display posts from previous:    Page 30 of 37
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum