You are not logged in.

#1 2018-07-28 23:15:41

rampart
Member
Registered: 2018-01-21
Posts: 12

Router Wiki Instructions Didn't Work

Decided to switch out my router to a linux box. As an initial test, followed the instructions on the Arch router wiki exactly except for substituting extern0 and intern0 for the actual interfaces (both ethernet). Devices are getting IPs, internet is accessible from the box itself but not from any devices on the lan. Route and iptables look acceptable. But traffic doesn't seem to be getting forwarded from internal to external. Any advice on how to troubleshoot? (I thought the wiki made it look to easy)

Offline

#2 2018-07-28 23:26:16

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Router Wiki Instructions Didn't Work

Please post all the commands you used with their outputs,   configuration files you altered and their current contents.
Edit:
https://bbs.archlinux.org/viewtopic.php?id=57855

Last edited by loqs (2018-07-28 23:29:54)

Offline

#3 2018-07-28 23:33:28

rampart
Member
Registered: 2018-01-21
Posts: 12

Re: Router Wiki Instructions Didn't Work

I started to do that but it is literally verbatim the wiki.
https://wiki.archlinux.org/index.php/Router

Manual iptables vice shorewall, and stopped after the iptables section so no IPv6 and UPNP. No errors indicating command failure when entering any of them in.

Offline

#4 2018-07-28 23:57:53

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Router Wiki Instructions Didn't Work

rampart wrote:

Manual iptables vice shorewall

What does that mean?

Offline

#5 2018-07-29 00:06:18

rampart
Member
Registered: 2018-01-21
Posts: 12

Re: Router Wiki Instructions Didn't Work

That I used the iptables setup and not the shorewall option.

Offline

#6 2018-07-29 00:13:05

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Router Wiki Instructions Didn't Work

Offline

#7 2018-07-29 00:17:55

rampart
Member
Registered: 2018-01-21
Posts: 12

Re: Router Wiki Instructions Didn't Work

sysctl net.ipv4.ip_forward=1

at the command line didn't immediately solve and the changes /etc/sysctl.d/30-ipforward.conf also did not fix on subsequent reboots.

Currently, trying to poke around in logs to see if there is an error thrown somewhere.

Offline

#8 2018-07-29 00:39:25

rampart
Member
Registered: 2018-01-21
Posts: 12

Re: Router Wiki Instructions Didn't Work

Seems to be hardware. Switched to spare usb nic and it worked.

Offline

Board footer

Powered by FluxBB