1
vote
1answer
29 views

how to forward proxy requests using iptables

I've this schenario ----------------- ---------------- ---------- | SERVER A | ---(port:2128)> | PROXY | ---> | INTERNET | | (10.30.1.1) | ...
1
vote
1answer
82 views

iptables DNAT port forward to another machine on LAN

I am trying to implement iptables forwarding rules in order to internally redirect packets coming through a specific port. My machine is running under the distribution Ubuntu Server 12.04.3, with UFW ...
0
votes
2answers
142 views

NAT vs Proxy server

I have installed squid proxy server to hide our network ips after some time it becomes slow then I read through NAT rules to achieve what I want by proxy server. As per this link the difference ...
-2
votes
1answer
157 views

Ubuntu Server / IpTables / Port Forwarding / NAT

I got referred here from StackOverflow. I'm using IpTables to forward an incoming port on one server to an external server (not on LAN) and the same port. The problem I'm having is that I have to use ...
0
votes
1answer
134 views

NAT rules betweek 2 network interfaces (with iptables)

this is the current network that I have: UBUNTU: eth0: ip: 212.83.10.10 bcast: 212.83.10.10 netmask 255.255.255.255 gateway 62.x.x.x eth1: ip: 192.168.1.1 bcast: ...
-1
votes
1answer
79 views

Can I improve speed in Hyper-V?

I use Windows Server 2008 R2 (it is host) with Hyper-V and a guest running Ubuntu 12.04 LTC. It is my settings: RAM 32768 Cores (virtual processes) 4. (I need 12) I also use virtual hard drive ...
0
votes
0answers
59 views

UFW : NAT with source + destination on loopback interface

I want to do a simple redirect , port 80 to 8080. I have a rule that works when the connection comes from eth0. But when I want to test the rule from localhost, it is not working. Did I miss some ...
0
votes
0answers
60 views

Setting up vmware server with Ubuntu mini

I am learning how to program in PHP so I chose to install Ubuntu in a VMware VM to act as a server. I used the Ubuntu Server distro and could set up nginx with php5-fpm in several minutes. However, I ...
1
vote
2answers
2k views

iptables NAT/Forwarding with external ADSL router; PCs on the network can't access the internet

I'm setting up a firewall/gateway (Ubuntu server 8.04.1) The firewall has three NIC's: eth0 192.168.0.2 eth1 192.168.1.2 eth2 192.168.2.2 eth1 is connected directly to the ADSL router (which also ...
1
vote
2answers
85 views

webserver unreachable for short periods

We have a development webserver (ubuntu) with some websites running on it. Most of the time this works fine but since some time when we are developing we get a "cannot connect" error when loading a ...
0
votes
2answers
718 views

Unable to PPTP through NAT on Cisco 881

I'm trying to connect to a PPTP server which is sat behind a Cisco 881 NAT router. The server is running Ubuntu Server 12.04 and is running Poptop pptpd as the PPTP daemon listening for connections. ...
1
vote
0answers
874 views

How to make sysctl network bridge settings persist after a reboot?

I am setting up a notebook for software demo purpose. The machine has 8GB RAM, a Core i7 Intel CPU, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit. The notebook is used as a KVM host and runs a few KVM ...
1
vote
3answers
4k views

How Do I Block an IP Address on ubuntu?

I have configured Ubuntu machine as router. Steps of NAT configuration are given below: #iptables -F #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE #iptables-save ...
2
votes
2answers
383 views

Issue NATing server private interface to loopback (for MySQL)

I'm trying to NAT traffic sent to the server's private interface to the loopback (because MySQL bind-address is on 127.0.0.1 and can't be changed but I still need to reach it via the private ...
1
vote
0answers
133 views

VMWare Workstation 7.1 on Ubuntu 10.04 Host NAT Connections Dropping

I hope someone can help me with this issue. We currently have VMware Workstation setup on an Ubuntu 10.04 host with NAT networking configured for the guests (b/c we don't have a router at the servers ...
2
votes
1answer
577 views

kvm, can't access guest from outside host

following ubuntu guide on kvm, I've a test server up and running at this ip address 192.168.0.210 (netmask 255.255.255.0). The virtual machine (same as host ubuntu 11 server) use dhcp but has a ...
0
votes
4answers
2k views

Ubuntu based VPN server behind NAT router?

I have a small intranet- and file-server inside our company, which can only be reached from inside our own network. I'd like to be able to reach the intranet and files on the server from outside the ...
2
votes
2answers
86 views

Exposing multiple virtual machines to public Internet from laptop on any connection

I've got a couple of Ubuntu virtual servers on my laptop that I drag around with me and use to test configuration and interaction of services like mail, directories, etc. I therefore want to make them ...
0
votes
1answer
1k views

/var/log/squid/access.log is empty when I use proxy from remote computers

I have configured squid to work as NAT using apt-get install squid iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.1:3128 iptables -t nat -A ...
0
votes
3answers
244 views

Connecting two computer on different sub-nets

I have a site with wireless (192.168.0.0) and a wired network (192.168.1.0). Each network has its own DHCP server and other such infrastucture. There is an Ubuntu Linux machine that has a connection ...
2
votes
2answers
625 views

Making Ubuntu a minimal NAT?

I need to make a quick-and-dirty NAT out of a Ubuntu 10.10 box. Just "this side is NATted with DHCP handing out 192.168.x.0/24" and "this side gateways to the Internet", and nothing else interesting. ...
4
votes
3answers
444 views

LAN and WAN at the same cable?

Can I connect LAN and Internet using the same cable? LAN computers ------\ Ubuntu server ------Switch ADSL Router --------/ I want to make LAN computers 192.168.0.2-50, server will have real ...
0
votes
1answer
206 views

NAT on the single interface (Ubuntu)

There is a network 192.168.0.* Users have IPs 192.168.0.100 - 192.168.0.200 Ubuntu server has IP 192.168.0.1 There are 3 ADSL modems at IPs 192.168.0.10, 192.168.0.11, 192.168.0.12 I'd like to make ...
9
votes
3answers
11k views

Forwarding ports to guests in libvirt / KVM

How can I forward ports on a server running libvirt/KVM to specified ports on VM's, when using NAT? For example, the host has a public IP of 1.2.3.4. I want to forward port 80 to 10.0.0.1 and port 22 ...
3
votes
2answers
2k views

Ubuntu Server Port Forwarding the easy way?

I have an Ubuntu server (10.04) running nat and I understand how to forward ports using iptables which works fine and is only mildly painful. What is "the easy way" of doing this? Is there some nice ...
0
votes
2answers
2k views

NAT problem with UFW

I'm trying to setup up an Ubuntu server, and first I want it to act as NAT/router/firewall. My question is: How do I make it so the computers connected to the LAN, can access Internet? eth0 Link ...