15778 Brainslayer Build

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
Author Message
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Thu Dec 02, 2010 10:49    Post subject: Reply with quote
frater wrote:


PS For those running OTRW... They can use 'fixtables' to fix this issue. You do need to download the script once more:

Code:
wget -O /opt/etc/init.d/S94fixtables http://wd.mirmana.com/S94fixtables


There is something wrong with the new fixtables

service fixtables start
Start service "fixtables" (/opt/etc/init.d/S94fixtables)
service: Start service: "fixtables" (/opt/etc/init.d/S94fixtables)
S94fixtables: creating firewall fix in /tmp/etc/config using the file fixtables.wanup
/opt/etc/init.d/S94fixtables: line 149: /opt/usr/sbin/iptables-save: not found
Sponsor
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Dec 02, 2010 16:37    Post subject: Reply with quote
wabe wrote:
frater wrote:


PS For those running OTRW... They can use 'fixtables' to fix this issue. You do need to download the script once more:

Code:
wget -O /opt/etc/init.d/S94fixtables http://wd.mirmana.com/S94fixtables


There is something wrong with the new fixtables

service fixtables start
Start service "fixtables" (/opt/etc/init.d/S94fixtables)
service: Start service: "fixtables" (/opt/etc/init.d/S94fixtables)
S94fixtables: creating firewall fix in /tmp/etc/config using the file fixtables.wanup
/opt/etc/init.d/S94fixtables: line 149: /opt/usr/sbin/iptables-save: not found
'iptables-save' should be there....
Check it please before you download it again....

It's only a symlink to 'iptables'.
I modified the fixtables script a bit, so it will create the symlink if it is missing.
redownload that script and try again...

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Dec 02, 2010 16:51    Post subject: Reply with quote
Can someone having multiple bridges / multiple subnets on his DD-WRT post the output of the following commands on http://pastebin.com ??

I need to make sure that the fixtables will work there as expected too.

You may want to replace your Internet-IP with a fake address, but don't replace it with a local address.

Code:
nvram show 2>/dev/null | grep lan_
ln -s `which iptables` ~/iptables-save
~/iptables-save

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
68Firebird
DD-WRT User


Joined: 29 Aug 2009
Posts: 132

PostPosted: Thu Dec 02, 2010 17:12    Post subject: Reply with quote
http://pastebin.com/Z1kSASA2

I have 3 branches and 3 subnets on a wrt54-tm on my gateway.

br3 is reserved for vlan3 when I need it, but its not being used.

Let me know if you need more detail on the configuration of my router. I am using build DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929)

_________________
WRT54G-TM (Gateway) std-nokaid-build 14929
WRT54G-TM (Repeater) mini-nokaid-build 13525
WRT54G v4 (Client Bridge) mini-nokaid-build 13525
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Dec 02, 2010 18:05    Post subject: Reply with quote
OK... thanks..
Can you also post:
Code:
nvram show 2>/dev/null | grep 'br[0123]'
nvram show 2>/dev/null | grep '192\.168\.[1234]\.' | grep -vE '(forward|static|lease)'
nvram get rc_firewall

and any info you think I may need..

I assume the system creates these rules and IP's for your firewall or are they created with the CLI??

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
68Firebird
DD-WRT User


Joined: 29 Aug 2009
Posts: 132

PostPosted: Thu Dec 02, 2010 18:45    Post subject: Reply with quote
http://pastebin.com/UVRxL3z2

The firewall rules are applied in the gui using phuzi0n guide.

The gateway is connected to a adsl bridged modem with the dd-wrt gateway doing the pppoe.

I clean a lot of pc's with viruses. That is why i have the firewall rules setup the way they are so my home network is safe when I work on infected pc's.

MOD EDIT: FIRST PICTURE DELETED. See forum rules on picture sizes. Picts this size f up the entire thread and make it unreadable.



Capture1.JPG
 Description:
 Filesize:  33.19 KB
 Viewed:  20585 Time(s)

Capture1.JPG



Capture.JPG
 Description:
 Filesize:  55.92 KB
 Viewed:  20585 Time(s)

Capture.JPG



_________________
WRT54G-TM (Gateway) std-nokaid-build 14929
WRT54G-TM (Repeater) mini-nokaid-build 13525
WRT54G v4 (Client Bridge) mini-nokaid-build 13525
68Firebird
DD-WRT User


Joined: 29 Aug 2009
Posts: 132

PostPosted: Thu Dec 02, 2010 18:51    Post subject: Reply with quote
And a screen shot of the firewall rules gui,

MOD: Pict deleted.

_________________
WRT54G-TM (Gateway) std-nokaid-build 14929
WRT54G-TM (Repeater) mini-nokaid-build 13525
WRT54G v4 (Client Bridge) mini-nokaid-build 13525
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Dec 02, 2010 20:33    Post subject: Reply with quote
Ok, thanks....
I thought I needed to do some special handling, but it now seems DD-WRT itself isn't doing anything there and you already need to do it all by hand.

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Thu Dec 02, 2010 20:36    Post subject: Reply with quote
Frater, each interface has a "Masquerade / NAT" option (nvram show | grep _nat) associated with it that controls loopback but the nvram variables for these options are still set even when the interfaces are added to bridges. Bridges themselves don't have this option and don't seem to get masquerade rules but some people do want it. ie. Good luck trying to figure out the mess of nvram variables...

I suggest cutting the interface names out of the packet type = broadcast rules that are created for every interface that might need masquerading and then adding a masquerade rule. You might want to go a step further and check the [cut interface name]_nat nvram variable to decide whether to masquerade or not.

-A POSTROUTING -o vlan5 -m pkttype --pkt-type broadcast -j RETURN

_________________
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)
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Thu Dec 02, 2010 20:43    Post subject: Reply with quote
frater wrote:


'iptables-save' should be there....
Check it please before you download it again....

It's only a symlink to 'iptables'.
I modified the fixtables script a bit, so it will create the symlink if it is missing.
redownload that script and try again...

I did and it works now. iptables-save did not exist however before running the new script
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Dec 02, 2010 21:43    Post subject: Reply with quote
I think I'm going to leave it like this.
Only if my current script would do things wrong in a multiple bridge, I would have done something with it...

I prefer to have no 'fixtables' and let DD-WRT handle all.

Every time I propose a better webif for NAT / firewalling there's a wiseguy saying we have iptables for this. I guess they think it makes them feel better somehow. I can probably do more with a CLI then they ever will.

Juniper makes professional routers that can be managed with a well designed webif. The DD-WRT interface is becoming embarrassing. I'm talking about the part that controls port forwarding.
You can't even make a simple SMTP-block for outgoing traffic.

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
duhceb
DD-WRT User


Joined: 11 Apr 2010
Posts: 53

PostPosted: Sat Dec 04, 2010 20:51    Post subject: Can anyone confirm... Reply with quote
Can anyone confirm than the DNS rebind protection is broken in this build?
Thanks!

_________________
NETGEAR R9000 DD-WRT v3.0-r45192 std (12/29/20) (ROUTER)
NETGEAR ORBI Stock FW V2.7.2.102 (MESH)
WRT3200ACM (BS Build Usually) (BACKUP)
stalonge
DD-WRT Guru


Joined: 21 Jul 2006
Posts: 1898
Location: Fortaleza Ce Brazil

PostPosted: Sun Dec 05, 2010 9:45    Post subject: Reply with quote
My router is running with NO problems for 12 days ..

I have a ftp running here ... the world can see my ftp server with the proper portforwarding ..

Thanks devs ... great build

Very Happy Very Happy



Captura_de_tela1.png
 Description:
 Filesize:  142.46 KB
 Viewed:  20340 Time(s)

Captura_de_tela1.png



_________________
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
stalonge
DD-WRT Guru


Joined: 21 Jul 2006
Posts: 1898
Location: Fortaleza Ce Brazil

PostPosted: Sun Dec 05, 2010 9:51    Post subject: Reply with quote
Waiting for the next release to give a try ..

Very Happy Very Happy

_________________
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
offhand
DD-WRT Novice


Joined: 10 Mar 2008
Posts: 6

PostPosted: Sun Dec 05, 2010 11:42    Post subject: port forwaring broken with this build Reply with quote
I can confirm port forwarding stopped working with this build. Downgraded to the previous version and it works again.
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next Display posts from previous:    Page 10 of 12
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