Networking :: Forward Local HTTP Requests To Remote Proxy?

May 4, 2011

How to forward local HTTP requests to remote Proxy with IPTables ?

View 1 Replies


ADVERTISEMENT

Networking :: Forward All Http/https Requests ?

May 12, 2010

I have a server (Fedora 12) setup at a client's datacenter and the network is setup to allow me ssh access into the server, but prevents me from opening any connections from the server. However, I need to make http and https request from the server. What I'd like to do is forward all http/https traffic through another machine outside the network.

I've been looking at the documentation for ssh and the various options there and have gotten so far as to enable initiating an ssh connection from the client network back to my machine, but am not sure where to take it from there.

Here are some of the commands I've used so far:

Code:

I'm attempting to bind port 80 to be forwarded through the local machine. I assume I use "ssh -R" to create a dynamic tunnel to forward requests but I must be missing something.

By the way, root login via ssh is disabled.

View 5 Replies View Related

Ubuntu :: Forward All Requests Through The SOCKS Proxy Before Sending It To The Internet?

Sep 1, 2011

I am making a content filter for a school. I have a computer with Ubuntu Server and the SOCKS proxy, a DD-WRT router, and a switch. how I could forward all requests through the SOCKS proxy before sending it to the Internet.

View 1 Replies View Related

Server :: Apache Reverse Proxy Slow In Serving HTTP Requests

Mar 18, 2010

A Linux (CentOS5.3) server is setup with apache reverse proxy. The reverse proxy server is opened to outside and an internal server is mapped to ProxyPass configuration. SSL certificate is also installed on the Apache reverse proxy server. The problem is, it is extremely slow in serving http requests through reverse proxy. There is no problem with server resources or bandwidth. When the internal server is directly accessed through Internet, there is no delay. The backend server and the reverse proxy server are also on the same switch (same subnet). When I searched the Net, there were recommendations to enable cache in Apache. I did so as follows in httpd.conf.

<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3
</IfModule>

But still there is no progress. Do I want to enable cache in ssl.conf too? Or is there any other workaround to speed up Apache reverse proxy. Is there a way to check that caching is happening?

View 4 Replies View Related

General :: Forward *only* Http Proxy Across Vlans?

Jul 28, 2010

My router has two bridges, br0 and br1. I'm sharing wifi access, and the guest subnet will be 192.168.2.x.The home subnet will be 192.168.1.x. I want all traffic destined for port 80 from the guest net to forward to a proxy port on a box on the home network. That's the only traffic I want to cross the bridges. How do I set this up with iptables on the router?

View 1 Replies View Related

Ubuntu Networking :: Redirect All Http/https/ftp Traffic Through The Remote Proxy?

Apr 6, 2011

I need to redirect all http/https/ftp traffic through the remote proxy, but when I changes connection settings in browser or in System->Preferences->Network Proxy it doesn't work well: instead of getting page content browser asks for saving some short (8 bytes) file with the same content for all requested pages. It happens in Chrome/Opera/Firefox. This proxy requires authorization and works on computer with Windos XP. It worked well when I was using Windows 7 and Proxifier, now I have Ubuntu 9.10 with all available updates.

View 3 Replies View Related

Networking :: Redirect Local Http Port To Remote Machine?

May 26, 2010

i have a problem........ How to redirect local http port to remote ip ddress(192.168.10.64) using iptables..my destro is Centos 5.3 my rule is this iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination 192.168.10.64

View 1 Replies View Related

Ubuntu Networking :: Get Wireless Router To Forward Ftp Requests To Computer?

May 18, 2010

I'm trying to make my wireless router always give me the same ip address every boot (192.168.1.100). I do not have a static ip address from my isp.

Everything I've tried from online help has made my internet break and I'm not even sure what exactly I should be searching for on google.

Ultimately, I'm trying to get my wireless router to forward ftp requests to my computer which shares the network with an xp machine. I think this is the way to go about it.

View 8 Replies View Related

Networking :: HTTP Requests Always Go By TCP Connect Tunnel?

Aug 14, 2010

How do Http requests and responses go from a client to the server? IS a TCP Connect Tunnel always formed or is there some different mode ?

View 4 Replies View Related

Networking :: Auto Forward To Ssl Proxy?

Jul 7, 2009

How can I forward ssl protocol to another proxy with iptables or squid or something?I want to forward ssl protocol to xxx.xxx.xxx.xxx:443 when get ssl request from clients
=======n Windows I am OK with Mozilla browser:I can choice ssl protocol from Tools => options => Advanced => Network => setting => manual proxy configuration => ssl proxy:xxx.xxx.xxx.xxx:443this is OK for me How can I setup in linux for clients?(no need for manual choice ssl proxy in client browser)

View 9 Replies View Related

Server :: Forward VNC Requests From A To B?

Aug 18, 2010

I'm trying to forward VNC requests from server a to server b, acctually I need the server a to be just VNC proxy and other servers behind server a can be responsible for VNC requests.I did it with this iptables rule but it didn't workAnd for notification all VNC sessions of mine are in range of 59100 to 59199

num target prot opt source destination
1 DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:59100:59199 to:bbb.bbb.bbb.bbb

Do you know a better way or a way to fix it with iptables?

View 3 Replies View Related

Networking :: How To Set Up Ssh Tunnel Through Http Proxy?

Mar 10, 2010

My school network uses a http proxy to access the internet, but I am dubious about the security, and so I would like to use http inside ssh to keep my data secure. I don't really know where to start on this, so a step-by-step guide, or links to resources, would be helpful.

View 2 Replies View Related

Networking :: How To Use Security HTTP Proxy

Sep 19, 2010

I have a http proxy account. It works well under windows through wodTunnel(an active X control component). But, I usually works under linux. I want to use it here. But I don't know how. I tried gstm, it can connect to the server successfully, but it seems can't respond to my http request. What should I do next?

View 3 Replies View Related

Networking :: SSH Connectivity Over HTTP Proxy

Jan 13, 2010

Machine 1) I have a Server with RHEL5.
eth0 = 192.168.48.x (static class C ip connected to VLAN switch)

Internet available via HTTP proxy through vlan but from other main server but not from machine below.

Machine 2) I also have a Server with RHEL4.
eth0 = 124.30.XXX.xxx (public IP for availing internet)
eth1 = 192.168.60.xxx (class c ip to share internet via squid on the same LAB)
eth2 = 192.168.16.xxx (class c ip connected to VLAN switch)

Now what I want is ssh connectivity available to Machine 1, so as to enable remote machines on the internet connected. I know that it might be hard for Machine 1 to share ssh directly on the internet but if there is any kind of tool or tricks to setup pls tell. So the only chance is ssh via machine 2 then after connected to Machine 2 then again ssh to Machine 1. But how do I make ssh available online? IPtables are set correctly machine 2 can't be ping on the internet.

View 2 Replies View Related

Networking :: Fedora Iptables Forward Port80 To Other Proxy Server?

May 20, 2009

I'm using Fedora Core5.0 I have using Iptables for forward port 80 to port 3128(Squid) in the same of server.I need to forward using Iptables to use the other proxy server because this server i am use for vpn and mail tranfer.What a Commnand for i use?ase 1. Server 1 >Ip 192.168.0.4 SQUID WITH PORT(3128)2. Server 2 IP 192.168.0.254 PF SENSE (3128) I will use server 2 for using internet connect only.

View 1 Replies View Related

Ubuntu Networking :: SSH Through HTTP Proxy Locally

Feb 18, 2010

I'm behind a very blocked firewall that only allows connections through port 80 and 443. I wish to ssh to my machine at home, but the port is blocked. Is there a simple server that I can run to route my ssh connection through http?

View 2 Replies View Related

Networking :: Configuring EBox As HTTP Proxy?

Mar 22, 2010

I am trying to configure an eBox to act as an http proxy but having trouble using that proxy on client computers to browse internet. The ifconfig on ebox returns the following:

eBox141:~# ifconfig
eth0
Link encap:Ethernet HWaddr 00:0c:29:ee:64:f2
inet addr:10.45.48.108 Bcast:10.45.255.255 Mask:255.255.0.0
inet6 addr: fe80::20c:29ff:feee:64f2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:90045 errors:0 dropped:0 overruns:0 frame:0
TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7043548 (6.7 MB) TX bytes:35150 (34.3 KB)
Interrupt:16 Base address:0x2024

eth1
Link encap:Ethernet HWaddr 00:0c:29:ee:64:fc
inet addr:192.168.122.158 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feee:64fc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1123 errors:0 dropped:0 overruns:0 frame:0
TX packets:781 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:949754 (927.4 KB) TX bytes:92267 (90.1 KB)
Interrupt:16 Base address:0x20a4

eth0 is on the internal lan with the client from which I want to access the internet
eth1 is can access internet all right.

The ifconfig on a client returns
eth0
Link encap:Ethernet HWaddr 00:0C:29:46:58:7F
inet addr:10.45.48.102 Bcast:10.45.255.255 Mask:255.255.0.0
inet6 addr: fe80::20c:29ff:fe46:587f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16014030 errors:0 dropped:0 overruns:0 frame:0
TX packets:835276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1297106653 (1237.0 Mb) TX bytes:738158694 (703.9 Mb)

I configured the Firefox on the client to use eBox's ip address/port in the proxy settings but I still can't get on the internet.

eBox is on a vmware workstation 7. It is eBox 1.4.1
eBox has two virtual nics (above) - one is NAT (eth1) and the other is bridged (eth0)
The client is on vmware ESXi 4.0. It's an openSUSE 11.2.

View 2 Replies View Related

Networking :: Http Request Forwarding To Proxy

Feb 26, 2009

hi

i want to redirect the packet to proxy server. can u help me.

Present network.

MY internal network ==> switch ==> proxyserver ==> router ==> internet.
(for internet i use
to connect proxy, in web browser==> lan settings ==> proxy server ip address )

What i want is

My internal network ==> getway or firewall ==> switch ==> proxy server ==> router==> internet. ( where this getway or firewall i can configure for forward http request to proxy server.)


so that i can separate my internal network from intranet but able to access the internet.


help me out

raghu

View 2 Replies View Related

Ubuntu Networking :: Slow Response For HTTP Proxy Over SSH?

Dec 3, 2010

I'm a little stumped on this one so I reaching out to see if anyone here has any idea. I just changed my ISP to Surewest as they're doing fiber straight to the house in my area so I have 8Mbps up and down.

I have my linux box running openssh and I have no problems SSHing into it from my remote laptop at work. I use putty to connect to it and create a tunnel so I can configure my firefox to use it as a SOCKS proxy. The problem is my response time for page loads in firefox is atrocious now. It'll take over a minute to load yahoo.com. The only real differences in my setup now are my ISP and router hardware at home. Previously, I was using the firewall that was built into my AT&T Uverse gateway. Now, I'm using my old Linksys WRT54G v5.0 router with the latest firmware. My linux box is wired directly into it with ethernet. When I run the speed tests from that box I get my correct speeds of 8Mbps up and down with <15ms ping. From what I can tell, all of my router settings are correct.

View 1 Replies View Related

Networking :: SSH Tunnel Through NTLM Authenticated HTTP Proxy

Mar 7, 2010

I have a problem setting up a SSH tunnel. I know how it's usually done, but the setup is different this time. I am behind a HTTP(S) and FTP proxy, that does NTLM authentication, and I want to access a server beyond the proxy.
MY CLIENT <-> LAN <-> HTTP PROXY <-> INTERNET <-> MY SERVER

So far, the best I have achieved is installing and configuring CNTLM as a local proxy for the authentication part. Using CNTLM, I managed to access and mount a secured (https) DAV share using davfs2. In theory, CNTLM should let me setup permanent tunnels from local ports to distant ports, and it does; however these tunnels don't seem to work for SSH nor for IMAP (another protocol I tried).

I suspect the problem is that neither SSH nor IMAP is HTTP- or FTP-based, but anyway it does not work. So back to square one: how should I proceed to get ssh to connect through the HTTP proxy (with NTLM authentication) to the remote server? For that matter, if there's a better way than SSH to create a tunnel, that would work in my situation, that's OK with me. Just in case, here are the relevant parts from my firewall setup on the server:

Code:
# default policies
iptables -t filter -P INPUT DROP
iptables -t filter -P FORWARD DROP
iptables -t filter -P OUTPUT ACCEPT

# reset
iptables -t filter -F INPUT
iptables -t filter -F FORWARD
iptables -t filter -F OUTPUT

# allow continuation of established connections
iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A INPUT -f -j ACCEPT

# allow local connections
iptables -t filter -A INPUT -i lo -j ACCEPT

# open ports:
# ssh
iptables -t filter -A INPUT -p tcp --dport 22 -j ACCEPT
Yves.

View 2 Replies View Related

CentOS 5 Networking :: Connect To HTTP Proxy Server ?

May 16, 2010

I'm trying to set up a server for an NPO who connects to the Internet through an internal proxy (Websense). I can't access the Internet unless through the proxy.

Since it's a server I did not install a GUI so I'm wondering how to connect the new server to said proxy server. I have the IP address, port number and username-password for the proxy server. The new server has a static IP address and is ready too go!

View 6 Replies View Related

Ubuntu Servers :: Apache2 : Forward All Requests To Directory ?

Feb 9, 2010

i have a web site and i need to forward all requests to the same page. Basically i would like to show a maintenance page while we are working with our database behind the application and in the meantime i would like to redirect all url in the root directory as following :

http:[url].....

http:[url]....

i tried to perform the action using mod_rewrite in this manner :

Code:
RewriteEngine On
RewriteRule . http://www.mysite.com [L][code].....

The webpage at http:[url]....has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

View 2 Replies View Related

Fedora :: TOR Onion Routing - Set Proxy For HTTP And HTTPS In Firefox But Say's 'unknown Proxy'

Jul 7, 2010

I've been trying to make myself anonymous, but I cant find 'Tor' anywhere, tried 'yum & kpackagekit' neither have it. I did find 'Privoxy', installed it, set proxy for HTTP and HTTPS in Firefox, but it says 'unknown proxy' when I try to use it! I've been to the Privoxy web site and read through the 'User manual', but most of it is 'geek' to me!

View 8 Replies View Related

General :: Convert HTTP Proxy To SOCKS Proxy?

Feb 27, 2010

I've been doing some security testing in a lab environment that does not have direct internet access. It's actually a little complicated: From home to connect to my lab machine, I

1. SSH to machineA.
2. SSH from machineA to machineB

where machineB is my actual lab machine. neither machineA or machineB allow anything other than SSH, and machineB is only accessible from machineA. However, I really need to run yum on machineB. I have managed to get internet access via Firefox on machineB by creating a series of SOCKS proxy via SSH.

1. machineB: ssh -L 12345:localhost:12345 user@machineA
2. machineA: ssh -D 12345 user@machineC
3. machineB: configure firefox to use socks proxy, localhost, 12345

where machineC has internet without limits placed. This is the only way I have managed to get internet working. I tried using ssh -L all the way from machineB->machineA->machineC but it didn't work (even when setting Firefox to use http proxy). I tried using ssh -D all the way, but again that doesn't work either.

I do have access via Firefox using socks proxy. However, yum update fails to retrieve mirror list, and from what I have found I don't believe yum supports socks proxy directly. Instead, it uses http_proxy / ftp_proxy. how to get yum to go out over the SOCKS proxy I created (same one using in Firefox)? It seems like since Firefox can access the internet and everything without issues, i should be able to get yum to tunnel through the same connection to access everything.... I tried

[URL]

View 1 Replies View Related

OpenSUSE Network :: Block HTTP Requests From Other Computers?

May 30, 2011

My computer shares an internet connection using an ADSL router.There are other three machines.I have set up a Apache server for learning purpose and I want it to be inaccessible from anywhere else including the PCs in the network.When I enter my ip-address assigned in the network (192.168.1.1xx) from other computer,I get my ppages and I dont want that.

How can I block HTTP requests from other computers?

View 6 Replies View Related

General :: Configure Apache To Use Https Instead Of Http For Some Requests?

Mar 7, 2011

For some of the files that I share using Apache, I want to make sure that they are served ONLY via https.

How can I configure this for Apache?

View 1 Replies View Related

Server :: Redirect The Incoming Http Requests To The Appropriate Webserver?

Mar 20, 2011

We have a cisco ASA firewall at work,which redirects all http traffic to our webserver. We have to install a new website ,but it can't be installed to the same server. Setting up a squid reverse proxy can redirect the incoming http requests to the appropriate webserver? If yes, could I get some directions on howto?

View 5 Replies View Related

CentOS 5 Networking :: Check If Clamav Is Scanning HTTP Traffic Squid Proxy Server?

May 21, 2011

I'm trying to setup a Centos 5.6 Squid Proxy Server with Content Filtering & Antivirus Scanning Incoming HTTP Traffic from the Internet

I then proceeded to setup an configure the Proxy Server, i was able to test and confirm that Squid and Dansguardian Content Filter is working, however i dont know if Clamav is scanning HTTP traffic before it hits the client/server. Is there a way i can check if the Antivirus scanning is working.. is there some log file or real world test i can i can do to confirm that Clamav is scanning incoming traffic or even blocking potential viruses ??

Anyone who has squid proxy server with Clamav configured and its working can share there settings/setup with me and how they tested it ??

View 1 Replies View Related

General :: Utility To Execute HTTP Requests And Examine Raw Responses

Jul 24, 2010

I'm learning about the HTTP protocol and I'd like to know if there's a tool I can use to input a HTTP request I have created myself that will output the raw response. I've had a look at cURL and wget but they don't seem to have an obvious option to do this. For example:

$ http_response < my_http_request.txt
HTTP/1.0 200 OK
Date: Sat, 24 Jul 2010 18:43:58 GMT
etc..

View 3 Replies View Related

Server :: Apache Stops Responding To HTTP Requests Every Few Days?

Dec 28, 2010

I've had a VPS running Ubuntu 9.10 x64 server, hosting 3 websites of mine for a few months now. This problem has been happening for a while. Every once in a while, probably every 2 or 3 days, I'll wake up in the morning, and apache won't be responding, no web pages will load. /etc/init.d/apache2 status, reports that apache is functioning properly. Every time I simply have to restart the daemon and things run fine for another few days.

I thought maybe it was a memory issue, so I lowered the MaxClients in the prefork module from 50 to 30 a few days ago, but the same thing is still happening. My VPS has 512MB of ram, burstable to 1GB, and according to Virtuozzo, there was only one night of high traffic where I even came close to that soft limit. I've checked my syslog, and there's absolutely nothing in there about apache. I've checked apache's error.log as well, and there's nothing in there that would indicate a problem either.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved