3
votes
1answer
588 views

Using Ubuntu 14.04 as router with iptables, clients can't go online. Probably DNS issue, iptables setting needed

CORRECTION 3: SOLVED! I needed to add the the official DNS server of my departement's VLAN as DNS to the clients. I've read through a large number of posts about iptables issues when using Linux as ...
0
votes
0answers
21 views

Use Ubuntu as internet gateway

I do have the following setup and would like my ubuntu pc to work as the gateway to the internet: Access point: 192.168.2.1 Ubuntu (wlan0): 192.168.2.2 Various other clients: 192.168.2.x Now, ...
0
votes
0answers
21 views

Using server as controlled switch

I have an Ubuntu server with 3 NICs installed. I have two classrooms. I want to control the two classrooms with IPtables separately. My problem is that I can't (bridge eth0 to eth1) and (bridge eth0 ...
6
votes
1answer
2k views

persist port routing from 80 to 8080

I use amazon EC2 instance which works via ubuntu. By default according security restrictions I can't bin my application to port 80, so I just bind it port 8080 and then set routing redirect from port ...
0
votes
0answers
138 views

Ping through GRE tunnel dicarded between 2 interfaces of a router - Ping does not reach subnet

I have an interesting issue that I hope someone can help with. I am trying to create a gre tunnel between 2 routers (running linux ubuntu 12.04) and pass traffic between 2 subnets trough this tunnel. ...
4
votes
1answer
10k views

Forwarding traffic between 2 interfaces

I have 2 VLANs connected to a 'router'. All the machines can ping other machines within their own VLAN and the router. The router can ping all of the machines. I am trying to get machines to talk to ...
1
vote
1answer
2k views

Forward TCP Connections with Iptables

I receive connections to my server from several ip addresses I want to route these connections just like rinetd does but based on the ip the connection is coming from to connect to a specified host. ...
2
votes
1answer
1k views

OpenVPN - Routing issue

Server: Ubuntu 11 (Openvz VPS) Client: Windows 7 Issue: clients connect successfully to VPN, but loss of internet access once inside the VPN. Facts: Everything mostly defaults Is a ...
2
votes
0answers
323 views

iptables, forwarding between interfaces

I'm trying to setup a router using iptables. But, after a lot of examples I've tried, I can't get anything to work. My idea is to setup a box in between my Cisco and the main switch for firewall, ...
2
votes
1answer
2k views

Weird issue with iptables redirection

I am trying to redirect all incoming traffic on UDP port 5060 to port 56790, and all outgoing traffic from 5060 to the port 56789. I used these iptables rules: iptables -t nat -I PREROUTING -p udp ! ...