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
0answers
30 views

How to do iptables nat loopback?

I have a linux server behind the ISP's cablemodem-router combo. With some hacking I was able to make the port forwarding work, and the DHCP exceptions in the udhcpd. But I wasn't able to do the NAT ...
0
votes
1answer
1k 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 ...
4
votes
1answer
5k 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 ...
0
votes
0answers
11 views

iptables for tomato to block all non-vpn traffic

I have been combing through a few forums of many VPNs that have iptables for the tomato router. Most don't work. The one from VPN.ac recommends adding under Administration > Scripts > Firewall ...
0
votes
1answer
19 views

iptables connection refused in VLAN network when iptables configured NAT and port forwarding

I have a static IP X.X.X.X. I configured a Linux server as a router by using iptables. The following figures as my network topology: ppp0 +-------------+ +----------+ ...
0
votes
2answers
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 ...
1
vote
2answers
2k 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
0answers
51 views

How to automatically mount a NAS in Ubuntu

I'm trying to set up a network attached storage (NAS) in my house to access from multiple computers. My NAS is actually a hard-drive containing all my music, plugged directly into my router. My goal ...
1
vote
2answers
155 views

Cannot connect to the internet (even pinging my own router) on any distro

I always run Windows 10 (Ethernet and WiFi work fine) but I dual boot and changed my distro from Arch (~6 months ago) to Fedora (~3 months ago). Fedora used to connect sometimes and sometimes not. ...
1
vote
1answer
134 views

ping on linux vs ping on mikrotik

I have ubuntu server 14.04, with two network cards (LAN and WAN). I made a masquerate for WAN card. I have internet access from a host within the Lan of router. I do a ping to 8.8.8.8 and try to ...
0
votes
1answer
54 views

SSHFS on Asus DSL-AC68U router

I have an Asus DSL-AC68U router. I can easily ssh to it: ssh router After having configured the proper options in .ssh/config: Host router Hostname ddnshostname User myuser KexAlgorithms ...
0
votes
0answers
6 views

Can I use UFW to replace the job of a router to route port connections to my applications?

I was on AT&T and had a router and always had to setup port forwarding for a few applications, like Qbittorrent etc. Not tht im on Time Warner Cable all I have is a modem and a switch and im ...
1
vote
0answers
48 views

How to block access to “private” host-only network from VirtualBox nat interface (separate host-only networks)?

Scenario: 1 VirtualBox host with many vms. Different host-only networks are configured for different vm categories: Some vms are "private", others are "standard" vms. Most of these vms, including some ...
1
vote
2answers
485 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 ...
-1
votes
1answer
77 views

Can I set two default gateway on linux?

I'm using both WiFi + Ethernet on my computer, but the route table settings on Win 7 is different with my Linux(Ubuntu 14.04) computer. win7 will set two default gateway for each device(wife and ...
1
vote
0answers
129 views

Cannot connect via ssh to server with global IP address

I have the no-ip service running on my raspberry pi, it updates the DNS (no-ip) whenever there is a change to it's IP address. I have enabled port forwarding on my router (Asus rt-n66u) ports 22 ...
4
votes
2answers
689 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 ...
0
votes
1answer
30 views

How do I create a simple script to kill uhttpd and then start lighttpd?

I have a router running uhttpd by default and there is a process using lighttpd I would like to run instead. Since both processes share the same port, I would like to kill uhttpd then start up ...
0
votes
1answer
51 views

Eth0 recognized by ifconfig -a, interfaces correct, cannot connect?

So, I had a WiFi connection "working" with WPA Supplicant. That took quite a bit of doing, and wasn't optimal. The networks would drop out every few minutes. I wrote a script which would reset the ...
3
votes
0answers
17 views

download rate limiting based on network usage

I have a Debian Wheezy (Open Media Vault) server with a few different downloaders working most of the time. (Primarily FTP) I would like to be able to adjust the download limits of this server based ...
3
votes
2answers
147 views

Multiple machines on single network with same IP

I have a raspberry pi 2 that I'm using for a KODI media center that has the ip address 10.0.0.4. Another pi I just got is showing the same ip (derived from /sbin/ifconfig -a and listed under wlan0 for ...
0
votes
3answers
142 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 ...
3
votes
1answer
135 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 ...
3
votes
1answer
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, ...
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: ...
0
votes
0answers
30 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 ...
1
vote
0answers
55 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
118 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
73 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
49 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
108 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
13k 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
6 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
47 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
78 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
65 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
104 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
224 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
133 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
154 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
84 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
172 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
60 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
2k 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
66 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
241 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
41 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
601 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
121 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 ...