Questions about running a UNIX-like OS (typically Linux) on wired and wireless routers, including flashing, creating, and configuring custom firmware.

learn more… | top users | synonyms

1
vote
2answers
1k views

iptables - Redirect web traffic to LAN Server

I have a webserver which is running on ip address 192.168.11.100 How can i use iptables to redirect all web traffic (http and https) to my webserver on LAN? After that i want to add except list mac ...
0
votes
3answers
129 views

Get Any Interface's Router Address

How can I know what the router's address is when I am on multiple interface? I know by using netstat -rn I can have the dominating interface's gateway, which is the router's address. But what about ...
0
votes
1answer
880 views

OpenWRT configuring access point Archer C7v2

I am trying to configure OpenWRT Barrier Breaker on Archer C7v2 to act as a dumb access point, so the WAN ethernet port will be connected to my network, and anything connected to wifi or the other LAN ...
3
votes
1answer
55 views

Using iptables to redirect all traffic to local webserver

Aloha, I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure i have got the command right and also I want to exclude the router IP (172.16.0.1) from ...
0
votes
1answer
2k views

Wifi on/off button on TP-Link WR841ND

I installed OpenWRT into TP-Link WR841ND. Everything works as expected, but I can't get the wifi on/off switch working. I followed the guide described on the OpenWRT page for this router. Scripts in ...
4
votes
1answer
4k views

How to setup PPPoE with OpenWrt

Probably this is a simple question, but I can't find an answer... I have an ADSL router (Dlink DSL-524T) which runs OpenWrt Backfire 10.03.1. It connects to the internet using PPPoA: this is my ...
3
votes
2answers
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
4
votes
2answers
666 views

Virtual Wireless Access Point

Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s ...
1
vote
5answers
4k views

How to make sense of an iptables chain configuration in OpenWrt

This is about how to make sense of the chains found in the iptables default configuration on a typical home router running OpenWrt (a stripped down Linux for router devices), but which ultimately may ...
4
votes
3answers
2k views

What are the interface prefix meanings in ifconfig?

I'm not sure if these have a name, but on most computers I use the interface prefixes are usually: eth- : Ethernet/Wired wlan- : Wireless/WiFi However, on my ASUS RT-N56U, I have the following: ...
1
vote
1answer
79 views

OpenWRT: TL-MR3020 Cannot SSH or TELNET into router flashed with custom OpenWRT bin

I have a TL-MR3020 that I flashed with a custom binary built from OpenWRT source. I was trying to enable WiFi and connect to the internet on the router by editing /etc/config/network and ...
0
votes
0answers
17 views

FTP/SMB client/bridge for Time Capsule

this is my first post here on Unix&Linux :) I just bought a new router, TP-Link Archer C9, and flashed it with DD-WRT... It was my first flash and it took a while to make it working properly but ...
2
votes
0answers
34 views

How to properly port forwarding between different machines using UFW / iptables and DD-Wrt?

This is my network I want to see my ip_camera (192.168.3.4:80) from outside my house. It is on dd-wrt router (192.168.3.1) without internet. The router 192.168.1.1 has internet. However, i have a ...
0
votes
1answer
64 views

Force internet traffic over LAN, but connect to router over WiFi

This is going to seem like an odd request, but it's necessary. I have a wireless router that is not to be used for internet access. The current router that I have is a DLink DIR-626L and I use it to ...
0
votes
1answer
50 views

How to scan devices connected to my router that isn't connected to the web?

How to find the devices connected to my router via ethernet/usb that isn't connected to internet and find for example the private ip? My situation is: I am connected to the router via usb with my ...
1
vote
0answers
36 views

TCP/IP routes when using multiple DHCP servers

I have connected a computer (running Debian Wheezy) to two different DHCP servers (routers) through a cable and through a wifi device. If I look at the routes with route, I get the following result ...
3
votes
1answer
63 views

VMs “forgetting” MAC address of gateway on Ubuntu 14.04 host set up as a gateway using 1 NIC with 2 IP addresses on different subnets

I have an Ubuntu 14.04 server with one NIC. The MAC address on this NIC is assigned (by the data centre's gateway) one IP (X.X.X.100) in one subnet (X.X.X.0/24), with the gateway being in the same ...
6
votes
3answers
12k views

Where is iptables script stored on DD-WRT filesystem?

I have an ASUS RT-N16 router that I've flashed with the open-source DD-WRT firmware. According to my ssh login, I'm running: DD-WRT v24-sp2 mega (c) 2010 NewMedia-NET GmbH Release: 08/07/10 (SVN ...
0
votes
0answers
5 views

reset of a ubiquiti networks power ap - no love

Had to reset our ubnt power ap. It's on fiber, and should pull ip via dhcp. no pppoe weirdness here. even so, it cannot grab an ip. all cables are connected. tried mtu 1500 and 1492. I have ssh access ...
2
votes
0answers
41 views

Router setting to access computer via its external IP

I use DD-WRT on my router. A few years ago I happened across a setting that allowed me to access my own computer (e.g. using the browser while a web server was running) using the computer's external ...
0
votes
1answer
50 views

OpenVPN clients cannot share their connection to the Internet

Context: a Wifi VPN gateway (Linux Ubuntu computer) Simply One distant Server (www.example.com) and One Client (Paul, Ubuntu Linux, gateway) linked with openVpn. Server allows Paul to ...
0
votes
0answers
60 views

Questions about setting up an OpenWRT Router as a client and ethernet ports

I'm fairly new to Linux and wanted to create a little OpenVPN setup. I have a computer setup with an openVPN server and a (cheap TP-link) router with openWRT and OpenVPN (client). Basically, I want to ...
0
votes
0answers
70 views

I can't ping the gateway

The network error is that I can't ping the gateway after ip forwarding configuration. Here's the my configuration: linux microcore(server)(First PC) sudo su ifconfig eth0 192.168.2.200 netmask ...
0
votes
1answer
153 views

OpenWrt bricked router is not connected via USB to serial cable

I am a newbie in OpenWrt development. I have a problem in my router when I try to upgrade my router (TP-Link TL-WDR-3600) to openwrt firmware via web ui. Now my router is bricked and I can't ...
2
votes
1answer
120 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
2
votes
0answers
123 views

Flash OpenWrt Routers from Telnet

I have two routers. One has Chaos Calmer and the other has Attitude Adjustment. When I turn them on and check arp, nothing comes up. When I check route, the hardware address says (incomplete) but the ...
1
vote
2answers
66 views

Unlocking all ports in a router when using Linux

I heard that Linux's open ports are not very vulnerable, so a normal desktop Linux installation doesn't need a firewall. Still, my router (Dlink) blocks some ports, even in LAN. Would it be a bad ...
0
votes
0answers
127 views

OpenWrt with Nodogsplash

I have a web application in MVC4 for Hot Spot Management system. I using it with OpenWrt and Nodogsplash, Now i need to authenticate the users in to external website. Is there any way to allow to ...
0
votes
0answers
48 views

Arch Linux Wireless Problems

I've got a problem with my wireless connection, the wireless bar is always showing 3 bars, I am using NetworkManager with dhclient and the strangest thing happens, I am getting a huge lag spike every ...
3
votes
2answers
859 views

Do I want a Repeater or a Bridge? (OpenWrt)

I'm setting up a network with openwrt. I have a router that I have set up for wifi which I will use as an access point. I want to add another router to my network so that the two can exchange traffic ...
-1
votes
1answer
47 views

Transmitted packets on a LAN interface may increase received packets on WAN interface?

Supose a simple home router gateway and the following: lan0 - Network interface responsible for LAN-side of the router wan0 - Network interface responsible for WAN-side of the router A default route ...
0
votes
1answer
187 views

Open Wrt with nodogsplash

I am using OpenWrt in my TP_Link TL-WRD3600 router. I have already set up a hotspot plugin (Nodogsplash) on my router. Now I need to allow access to some website before authentication on the splash ...
0
votes
0answers
36 views

Is there any way to configure fully automated proxyclient for workstations?

My network diagram is similar to above image; pc-router is also acting as firewall & I'm running squid on it. pc-router is running debian Vlan having workstations running fedora, ubuntu and ...
0
votes
2answers
557 views

OpenVPN and MerlinWRT

My ASUS router is flashed with MerlinWRT. This configuration used to work, however now when I connect I get, $ sudo openvpn ./client1.ovpn OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] ...
2
votes
1answer
79 views

How to use the same Wi-Fi adapter to connect to a wireless network, and broadcast an AP at the same time?

I have a Wi-Fi router that runs OpenWRT. It connects to my home Wi-Fi and uses it for Internet access. At the same time, it broadcasts an access point itself and it is bridged with its LAN so other ...
0
votes
0answers
38 views

load balance router

i am do live far away from the local exchange and the DSL is quite unstable. it can get days without service. so i decided to invest in a usb 3g stick (10GB/month, ppp0 in my system) and a usb wifi ...
2
votes
2answers
1k views

What does my router need to act as a name server for my home network?

I am happily using an old PC as a router. Two network cards, Debian wheezy, NAT, ... everything just fine. My home network uses static IPs, which I am also happy with. However, every box on my home ...
2
votes
2answers
145 views

How to get IPs via DHCP, through a router from another DHCP server?

ISP -> OpenBSD box -> Wireless router We have an OpenBSD machine that connects directly to the internet, has dhcp/dns cache "server" on it, and forwards the connection to clients via ethernet ...
0
votes
1answer
67 views

dd wrt firmwire file prompt password while extracting

I am a newbie in using dd wrt firmware development. Last day i download a dd wrt firmware dd-wrt.v24-21676_NEWD-2_K2.6_mini-e900.bin for Linksys E 900 router. I need to extract this image for ...
0
votes
1answer
88 views

Setting permissions on SMB

My router (Netgear DGN-2200-64) has a USB port usable as SMB storage (with the default firmware - I guess it's Linux under the hood). I plugged in an old flash disk (FAT formatted I think) & set ...
1
vote
0answers
101 views

Switch gateways on failure (WRT)

I have two WRT routers each connected to their own wireless gateway (cell phone and hotspot across the street). The routers lans are bridged with WDS and on the same subnet, so clients can connect to ...
0
votes
0answers
507 views

CentOS as home network router: IPTables Port Forwarding failure

I have currently set up a home server with a CentOS 6.6 installation on it. The server has two NIC interfaces which I'm using it as my router and DHCP server. Here's a diagram showing the network ...
0
votes
1answer
47 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
0
votes
0answers
99 views

static ip address in yast

I think that I set the FQDN for the server in yast. How do I set the static IP address with yast? I go to network devices => network settings, see my NIC: YaST2 - lan @ arrakis Network Settings ...
4
votes
2answers
539 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
0
votes
1answer
799 views

iptables - Redirect except list MAC Address

I'm using iptables on my router to redirect all web traffic to my page. But i don't know how to except my mac address list. I did command like this: iptables -t nat -A PREROUTING -m mac ! ...
1
vote
1answer
158 views

Can't connect Wifi devices to router when wired Ethernet computer is connected

I have a arch desktop with samba and ssh configured connected to a WiFi router/ADSL2 modem via ethernet. I was not able to connect any of my mobile devices (phones and tablet) or my netbook (running ...
0
votes
0answers
122 views

iptables - How to remove connection tracking

I'm using this command for redirect all web traffic (http) into my local web server iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to 192.168.11.100 Then i test, access a website and got ...
1
vote
1answer
469 views

Internet is not working when VPN is up

I'd like to redirect all trafic through VPN, but it doesn't work at all. server: RT-N16 [TomatoUSB v1.28.0000 MIPSR2-112 K26 USB AIO] client: Ubuntu 14.04.1 server config: # Automatically ...
1
vote
1answer
260 views

Linux as a router: Sending ICMPv4 messages “net unreachable” and “host unreachable”

I want routers based on GNU/Linux to sent at least those ICMPv4 messages: net unreachable, host unreachable. Especially the host unrechable message is important to me: If a router resides in the same ...