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
1answer
18 views

Iptables drop access to specific ip address except from my ip

I've got a dd-wrt router running and I want to block access to a wireless printer from all ip addresses except from the ip addresses that are allowed. let's say my printer's ip is 192.168.1.101 and my ...
0
votes
2answers
54 views

Is there a way to figure out a modem/router web IP address? [on hold]

I bought a Modem/Router d-link dsl-2750u couple of years back. I changed the web IP Address and now I don't remember what IP Address did I put in its place. Is there a way to figure out at what IP ...
1
vote
0answers
26 views

IPV6 routing Debian Comcast ISP

I need to build a router with some flexibility to limit and control our intranet, including port forwarding and network balance. The basic IPV4 configuration works fine with the required IPTABLES, NAT,...
3
votes
1answer
129 views

Linux router - Throughput speed of clients

I have a computer that is configured as a router with two NIC's, one is connected to Internet, the other is connected to the local network switch. I know that I can get the current throughput of NIC'...
2
votes
0answers
27 views

Multicasting with a Debian Router

I have a local network and I want to use NTP in multicast mode on this LAN. The first step to do this is to get multicast networking to work first. In the network I have 5 Debian machines all ...
1
vote
2answers
39 views

setup wireless router using systemd-networkd *.network files

I would like to configure an embedded device to behave as a wireless router, and I would like to achieve it preferably using networkd configuration files. I have two *.network files, a wired WAN ...
0
votes
0answers
53 views

Using iptables to redirect all web traffic to local webserver (on both port 80 && 443)

Firstly, apologies for posting such a similar question to one that exists (Using iptables to redirect all traffic to local webserver). Secondly, I'm somewhat of a newbie to IPTABLES & DDWRT - ...
0
votes
1answer
40 views

Iptables Help redirecting specific TCP/UDP Ports to VPN (tun1)

So I have a linux based router and have a vpn client set up to route traffic through the vpn and isp per iptables commands i am attempting to route specific tcp and all udp ports through the vpn only ...
0
votes
0answers
26 views

Survive Mac address of client after routing

I am developing an application in which it is very important that I can know the mac address of the client hitting the server. Clients are connected to wifi router (W). Multiple wifi routers (W) are ...
1
vote
0answers
93 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
0answers
58 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
27 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
0answers
121 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
196 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. ...
0
votes
1answer
84 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 +diffie-...
0
votes
0answers
11 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
85 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
votes
1answer
126 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
158 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 &...
0
votes
1answer
40 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
73 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
19 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
210 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 ...
3
votes
1answer
276 views

Using iptables to redirect all traffic to local webserver

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 the rule ...
1
vote
2answers
823 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 /etc/config/...
0
votes
0answers
38 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
67 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
159 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
94 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
56 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
129 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 ...
0
votes
0answers
8 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
49 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
85 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 browse ...
0
votes
0answers
70 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
1answer
261 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 ...
1
vote
2answers
86 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 ...
3
votes
0answers
168 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 ...
3
votes
2answers
3k 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
73 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
272 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
2answers
623 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
138 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
1answer
80 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
123 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
151 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 ...
2
votes
2answers
200 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 cable/...
0
votes
0answers
591 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
49 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 ...
2
votes
1answer
139 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 ...