0
votes
0answers
17 views

Is it necessary to open all used ports when using one Node.JS application to route from port 80 to apps on different ones?

I'm working with an Ubuntu 12.04 LTS, 64 Bit server there I have used the following commands to send all http request on port 80 to port 8080 Commands: cat /proc/sys/net/ipv4/ip_forward #returns 1 ...
0
votes
2answers
125 views

How to block requests for virtual hosts that dont exist in apache [duplicate]

First up, check out this question: Why are external domains appearing in my apache logs? We're seeing the exact same thing on one of our Debian VPS servers - with one big difference, the regularity ...
0
votes
1answer
228 views

DansGuardian+Squid3 (Ubuntu 12.04) on external VPS won't work transparently

My goal is to have an externally located DansGuardian + Squid setup to be used by only certain machines (the kids, especially) in my home. I've managed to install both on a cheap VPS, and I've had ...
1
vote
1answer
106 views

how to forward proxy requests using iptables

I've this schenario ----------------- ---------------- ---------- | SERVER A | ---(port:2128)> | PROXY | ---> | INTERNET | | (10.30.1.1) | ...
3
votes
4answers
2k views

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test ...
2
votes
1answer
85 views

web sites know the “real” access user(IP) through a proxy?

I'm new to Squid and iptables, and am investigating whether they would be able to accomplish a task at hand. part of my squid.conf: acl wf myport 8010 acl vp myport 8020 acl ss myport 8030 ...
0
votes
0answers
149 views

Routing outgoing HTTP/HTTPS traffic over a different subnet

I am trying to set up a Linux Server which was initially only supposed to be in one "server-subnet". However I am forced to use a proxy to access HTTP/HTTPS services in this subnet, which causes a lot ...
1
vote
2answers
980 views

force LAN hosts to go through proxy

I have an IPTables firewall on a Debian server, with a bunch of hosts behind it with masquerading. In the upstream network I don't have direct access to the internet, and I need to go through a proxy ...
0
votes
1answer
79 views

How can I proxy ICMP requests?

I have a ubuntu server that receives many ping requests from various other servers in the network. I would like to be able to proxy these requests. Using iptable rules I can see how to DROP or ACCEPT ...
-2
votes
1answer
118 views

How do iptables ports work? [closed]

Let's say, for instance, a user on the network makes a HTTP request to http://serverfault.com. I believe the destination port (dport) in this case is 80. What is the source port (sport)? If the user ...
0
votes
1answer
36 views

Iptables Proxy like setup

So the situation is we're having issues forwarding packets from a particular IP on a server. This is what is happening so far. Main server IP - 1.1.1.1 Secondary IP (what we want the client ot ...
0
votes
1answer
318 views

Redirect local traffic to proxy port with iptables

I have a Ubuntu 12.04 host that has a squid proxy on it running on port 8080. I want to proxy all the web traffic from the host through squid using iptables. Is the correct method: iptables -t nat -I ...
1
vote
1answer
74 views

Proxy HTTP requests to several machines

I have one service called legacy-service another service called dev-service bunch of HTTP requests coming to the legacy-service Is there any way to proxy HTTP requests to both legacy-service and ...
0
votes
1answer
196 views

Routing subnet through proxy to same subnet traffic using iptables, using WiFi Access Point connected to router

I'm having trouble with getting local subnet traffic sent through a proxy. I've got some mobile testing devices on a subnet 192.168.0.0 and a web server on that also. For dev purposes, I need to ...
0
votes
1answer
188 views

How To Route All HTTP Traffic from eth1 to the Squid Proxy? The Iptable rules?

I have just setup a squid proxy server. The server have two interfaces. eth0 connects to the router and eth1 is connected to a switch where all the other machines connect. The server also have a DHCP ...
0
votes
0answers
252 views

Incorrect iptables setting preventing server from returning data

I'm have a web server X, a transparent squid proxy server P and I'm using iptables to redirect all outgoing traffic on X to P, such that when a page on X is accessed, X will retrieve/curl a page Z and ...
3
votes
4answers
223 views

Is this iptables NAT exploitable from the external side?

Could you please have a short look on this simple iptables/NAT-Setup, I believe it has a fairly serious security issue (due to being too simple). On this network there is one internet-connected ...
1
vote
2answers
155 views

Enforce using proxy in all browsers

I've configured squid with squid with squidguard and when using proxy in browser it works fine. But I want to enforce using proxy (probably in iptables) in all browsers. Now it can be disabled in the ...
1
vote
2answers
3k views

How to set a static route for an external IP address

I'm putting a new router on our network to help manage our private network connections and to better control routing to the outside. I've decided to simplify this question by removing references to a ...
0
votes
1answer
378 views

IPtables and Remote Desktop with Proxy

So I setup a windows 2008 web server R2 on VirtualBox. Currently using Bridged Network. I can remote desktop to the machine hosting the VM (10.0.0.183) but cannot remote desktop to the VM itself ...
1
vote
1answer
312 views

iptables tcp proxy rules not working

I have several servers that need to connect to a remote service. These servers are ec2 instances under my control. The remote service is run on a server managed by my company, but not my department, ...
1
vote
1answer
194 views

Proxy arp and 1:1 NAT

I have a Linux router with 2 NICs doing masquerade from network 192.168.0.0/24 to an ADSL router. users <----> NIC A [router] NIC B <----> INTERNET Now I'm experimenting with proxy arp ...
0
votes
1answer
553 views

iptables: redirect tcp connections to ssh tunnel

I have seen this used in many android based projects like "ProxyDroid" & "SSHTunnel" Where you establish a connection to a proxy or ssh tunnel then using iptables it will redirect all tcp ...
0
votes
1answer
364 views

Iptable Rule to redirect all traffic requesting a specific domain

I'm on a simple linux proxy. I'd like to add iptable rules to drop all requests for a specific domain. I figured I run a dig command to get the ip addresses for the domain and then add an iptable ...
1
vote
1answer
342 views

iptables redirect tcp to checkip.dyndns.org from localhost to 127.0.0.1:8118

I've tried several different combinations of rules and nothing seems to be working. I know that you can't use prerouting table for a request coming from the localhost so I used the output table and ...
1
vote
1answer
1k views

Routing smtp and pop3 past iptables through proxy

following setup: Client(Outlook) <-----> |eth1 PROXY eth0 | <------> Interwebs How do i manage to do this? Setting the standard policy of all filter tables to ACCEPT doesnt change a ...
0
votes
1answer
97 views

need to my server's ip changes when it needs to connect port 'x' on ip 'y' [closed]

I have a linux server and have a proxy server on another machine. My linux server needs connect to port 'x' on ip 'y' Is it possible to create iptables rule or another way to: when my linux server ...
0
votes
1answer
478 views

SQUID proxy + iptables

I'm using squid3 (on ubuntu 10.10) and it manage connection completelly fine. But how can I secure the traffic by setting the firewall on the *same serve*r? If I use firewalls like ufw or ...
3
votes
1answer
2k views

How to create UDP proxy using iptables

I have a server running UDP server on port 50000. This server receives updates from clients, and pings back the clients every 5 seconds to the socket they were connected from. Now I want to redirect ...
0
votes
2answers
807 views

Forwarding Http traffic through another machine in my LAN

I am inside a network where my machine (IP-192.168.4.53) dont have access to Gmail. But I have access to another machine with IP (192.168.4.33/24) through which Gmail is accessible. Now what I want to ...
0
votes
2answers
117 views

Obtaining list of proxies [closed]

It there a source where I can obtain a large up to date list of proxy ips? I would like to limit users votes on a website if they are using proxy.
0
votes
1answer
346 views

use iptables for transparent access to 2 proxies depending on domain

I have a setup where I have 2 proxy servers. One is a socks proxy which I wish to use for ALL connections by default. The second proxy is an http proxy which I wish to use for http connections to ...
1
vote
0answers
954 views

Redirect OpenVPN gateway traffic to Privoxy

I would like to redirect the traffic that goes through my OpenVPN gateway to Privoxy, like so: OpenVPN client->Internet->OpenVPN gateway->Privoxy->Internet->Webserver (and vice versa) So far I ...
1
vote
0answers
75 views

HTTP Logging Proxies

I want to implement a proxy that records and replays requests made to specific hosts. So that I can stub out external service requests when testing an application. What is the best way to do this? ...
0
votes
1answer
2k views

SSH Socks Proxy wiith iptables REDIRECT

I have googled and haven`t found the answer on my question. Help me please. There are two servers: serverA with public IP 12.0.0.10 and an private IP 10.0.0.5 serverB with public IP 20.0.0.11 I ...
0
votes
3answers
2k views

By passing squid for few hosts using iptables

We have a squid proxy setup which listens on default port(3128): on eht0 (192.x.x.x). It has another interface eth1 (10.x.x.x) used to connect to external world. It is doing good quality content ...
1
vote
0answers
893 views

bypass ip destination squid tproxy bridge

I have configured a squid transparent tproxy. All works fine. Now I need all the traffic going to an external IP (internet) does not pass through the proxy. Do I need to modify iptables, ebetables ...
1
vote
1answer
285 views

Use VPS as a proxy port forwarder

I have 2 internet connections at home. I surf on both of them: every other connection switches isp. I already use my VPS as a regular proxy for surfing, ensuring me I always have the same IP address ...
0
votes
1answer
152 views

How do I set up port forwarding for ssh traffic?

I have two servers, a web server and an ssh server. Currently I have the web server behind a load balancer, while the ssh server has a subdomain pointed to it. I'd like for it to be possible to ssh ...
0
votes
1answer
225 views

Making squid use a proxy

I have a home network with 4-5 clients, and a server. The server runs Squid 2.7. The clients are all configured to use squid as a proxy server. I would like to be able to establish an SSH tunnel with ...
4
votes
1answer
963 views

iptables refuses connections to squid port on CentOS 5.5

I installed squid on a fresh CentOS 5.5 and added this rule for iptables: -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 8080 -j ACCEPT Using this HOWOT: ...
0
votes
1answer
183 views

transparent proxy to lo

I am trying to setup a transparent proxy between eth0 and lo, The reason being during DNS propagation services are being tunneled over a SSH connection between the old and new servers, on the "old" ...
0
votes
1answer
575 views

limiting connections from tomcat to IIS - proxy? iptables?

I've webapp on tomcat6 which is connecting to an M$ PlayReady DRM instance on IIS6.0 The performance is seen to be best when we bench mark (using ab) the DRM service with 25 concurrent connections, ...
5
votes
1answer
6k views

Difference beetween DNAT and REDIRECT in IPTABLES

Okay, it may be because I am dense or maybe just not finding the right source, but I can't understand why one of these IPTABLES setups would be better than the other. Here is my setup: I have a box ...
0
votes
1answer
734 views

Forward FTP to another server using iptables

My setup is: FTP client -> proxy server (eth0: external, eth1: internal) -> FTP server (eth1:internal) I'm trying to forward all FTP traffic from the proxy server on eth0 to the FTP server on ...
0
votes
2answers
401 views

block yahoo messsenger

blocking yahoo messenger based on The order in which Yahoo Messenger scans for available ports is: 1. port 5050 2. port 80 3. All available ports is impossible,"its better disconnect ...
1
vote
1answer
2k views

IPTABLES: routing VPN users through transparent Squid

I'm hoping someone can help me out - I've been tearing my hair out over this! I have pptpd and squid set up. I want give these users access to the internet, but would like to send http traffic ...
1
vote
1answer
484 views

Transparent proxy and IPTABLES

I am using PRIVOXY as a transparent proxy on a Fedora Core 11 box. The machine has one interface (eth0) and here is the configuration of the network: 10.0.1.1 - router.foobar.com (connected to ISP) ...
0
votes
1answer
2k views

iptables port forward to proxy on same computer?

My computer has two connections: ppp0 (to internet) and eth0 (as masquerade). I'm also running a proxy on port 8080. I'm using this computer as a router. Is there a quick iptables hack that will ...
1
vote
2answers
922 views

Can iptables allow Squid to process a request, then redirect the response packets to another port?

I'm trying to test a fancy traffic analyzer app, which I have running on port 8890. My current plan is to let any HTTP request come into Squid, on port 3128, and let it process the request, and then ...