Networking :: Locally Proxy / Spoof A Single Webpage?
Apr 11, 2011
there's a way to locally proxy or spoof just one web page. That is, use tsocks or hosts or something so that when I run an application that requests [URL], it receives /home/user/myversion.html, but for any other address it gets the normal page. Seems simple enough, if a little unusual... (I'm trying to work around a wget bug.)
View 10 Replies
ADVERTISEMENT
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
Feb 21, 2011
trying to configure a transparent proxy with squid (and filter content with dansguardian) in Debian/Ubuntu. If i configure firefox to use it, it runs ok. I had seen a lot of iptables rules to use fowarding proxy to a lan, but i would like to use squid and dansguardin in a single pc that run them and filter web content.
View 5 Replies
View Related
Jul 24, 2010
what I am trying to do is use an external transparent proxy for only one of the hosts on my internal network. For example, for an internal host of 192.168.1.8, I want to send all internet requests for ANY port to a proxy server out in the internet at 238.34.232.7 / port: 8080. All other hosts would use the internet without using any proxy server. Is IPTables the way to set this up or is there an easier option?
View 3 Replies
View Related
Jul 24, 2010
I have searched for this quite a bit but my lack of knowledge of IPTables makes me doubt whether I have found a solution or not. I have very light experience with IPTables as well.So I thought I'd ask here.Basically, what I am trying to do is use an external transparent proxy for only one of the hosts on my internal network. For example, for an internal host of 192.168.1.8, I want to send all internet requests for ANY port to a proxy server out in the internet at 238.34.232.7 / port: 8080. All other hosts would use the internet without using any proxy server.
View 1 Replies
View Related
Mar 25, 2010
I am new to iptables. We have two Squid proxy servers running in "non-transparent mode" (172.16.0.1 and 172.16.0.2). Currently users have to configure the proxy server they want to use by configuring them in their browsers. Recently I saw an example for redirecting web traffic to a single transparent proxy server.
-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
-A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 3128
Can anyone modify this rule to accommodate my current setup of two proxy servers running in non-transparent mode. i.e Redirect web traffic to the 172.16.0.1-172.16.0.2 ip range.
View 2 Replies
View Related
Feb 23, 2010
I would like to set up a proxy server at home which i can use to access sites from work. I was thinking a web-page i log into and then a sort of use like a browser? like this for example, but where i can have a secure login
View 4 Replies
View Related
May 5, 2010
I have configured Squid proxy on RHEL 5. Now I want all squid clients to use default website which is set by Squid Proxy Server. So whenever user opens their browser they will visit same website automatically.
View 3 Replies
View Related
May 31, 2011
I am using Squid Server from last 5years. There is a site "http://www.firstflight.net", which was accessible before few days but now I am unable to access this site. If I use IE8 then getting below error:
"Internet Explorer cannot display the webpage"
Or using Google chrome getting error:
"This webpage is not available The webpage at http://www.firstflight.net/ might be temporarily down or it may have moved permanently to a new web address. Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error."
But other sites are working fine..
View 3 Replies
View Related
Dec 9, 2010
Currently my DHCP Server is working now what i want to have is auto detection of squid proxy in any browser but I still got an error in my dhcp server when I restart it.
My Config:
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;
[code]....
View 2 Replies
View Related
Aug 9, 2010
How would I set up a website that would be only accessible locally. There's a router machine (server) that keeps provides internet access for a number of client machines. I need to set up a learning platform (moodle) locally. The server machine runs moodle server (apache server) and students should have access to their accounts locally (no need to be accessible outside of LAN). First of all, what would be the best network configuration for it.Sorry for a dumb question, but could I just come up with any domain name if everything stays locally within LAN?
View 4 Replies
View Related
Oct 28, 2009
At the moment I have a proxy and all the users have to configure it in the browser to access internet. I want to make the users able to browse even without configuring the proxy in the browser. but eventually it should be received in the proxy rather than giving an error to the user. I heard with transparent proxy I can redirect all the traffic from a particular network, to a particular host( ie my existing proxy).
I tried this using firewall rules. But then the existing proxy doesn't understand the protocol of the requests. I heard that it should be in the kind of proxy protocol.
View 1 Replies
View Related
Jun 6, 2010
I have a home server that I was able to up and till recently able to connect to externally and internally but something has changed. I can't connect through vnc, putty or ftp. if I ping the local address it can't be found. If I try to get to it using its external IP address I can get to the server and put in my user name but it wont accept my password.If I go to the server and use the password it works fine.
View 13 Replies
View Related
Aug 9, 2010
My requirement was to direct certain traffic from various ports down different Internet connections. Basically, for locally generated packets, the OUTPUT chain in the mangle tables is used. You can MARK packets in this chain for ip rule processing.Now the "clear as mud" part. There must be a valid routing decision made without the fwmark, selecting the right source address, even if the gateway ip is invalid.
View 2 Replies
View Related
Jan 15, 2010
If you use Nautilus then you can just use the "Connect to server" from the file menu. However if you file manager does not support connecting to servers (like Thunar ) then you can use sshfs.
Code:
sudo apt-get install sshfs
You should create a directory as your mount point, say
Code:
mkdir /media/Server
[Code]....
View 1 Replies
View Related
Apr 27, 2011
Because my ISP is blocking every IP port under 1000, I'd like my local nat'ed server to be able to translate incoming and outgoing traffic from some port above 1000 to the default server port locally.Example :
To connect to my IMAP server (default port : 143) from the outside,I'd connect to my public IP, port 1143 (opened and nat'ed to the right server on my router) and the server would translate this port to 143 on the same machine.I wish I could simply configure my router to do that but sadly Linksys doesn't permit such setting... I also could modify the listening port of my server but I prefear to keep the default port inside my network.I think that iptables is the right tool to do that and I never used it and I must say that this tool is not so easy to configure at first sigh
View 5 Replies
View Related
Jan 4, 2011
I've got two things I am trying to do and there seems to be no simple solutions. I am wanting to ssh into my Linux box from my laptop (Mac) and play the arsenal of music I have stored on the Linux box back to the laptop locally. I hear of people ssh-ing from work and playing music from home all the time. I have googled for days relentlessly with no way of getting the music to play back to my laptop.
1. I would like to be able to do this outside my LAN. 2. Inside my LAN, I can only seem to get the songs to play on the server. It seems there is a way to forward the sound via ssh somehow. I haven't figured it out yet.
View 4 Replies
View Related
Feb 23, 2010
I've setup squid proxy st time on centos 5.This is my current setup.squid.conf:Quote:acl our_networks src 192.168.10.0/24 ttp_access allow our_networksQuote:
internet -- modem -- Firewall --switch--squid proxy (192.168.10.100)
--client workstation ((192.168.10.200)
(client workstation is connected to the same switch as the squid proxy)
[code]...
View 1 Replies
View Related
Feb 20, 2009
'm running on Ubuntu and I've succesfully setup apache alongside with a working php & mysql configuration - other computers connected to the LAN can access it by typing in my ip: 192.168.0.9however I would like my webserver to be accessible by all internet users...I've got my ports.conf file in the apache setup to listen on ports 80 and 8080 this is my ports.conf:PHP Code:
Listen 80
Listen 8080
Listen 2000
[code].....
View 5 Replies
View Related
Mar 22, 2010
I'm trying to workaround a limitation in a server application. The limitation is that I can only connect to a LOCAL mysql database. I am trying to fool the server in to using a remote mysql database. I was hoping to do this by simply forwarding 3306 to another server on the same subnet.To that end I've set up iptables rules to forward all connections to port 3306 to a non-standard mysql port on a remote server. This works, except that I need to deal with the loopback interface in a special way and I'm stuck.
View 14 Replies
View Related
Apr 24, 2011
I suspect the network card but I could be wrong.
Sometimes it doesn't load all of a webpage. In Firefox this results in only some of the page being displayed. In konqueror I get the "Connection to host www.page.invalid is broken" error message. The computer was doing this when running Opensuse 11.3 and continues to do it when running a clean install of Opensuse 11.4. I haven't tried a live CD of Ubuntu or something but that might be worth a go.
View 5 Replies
View Related
May 2, 2011
I installed natty finally on my laptop (T410 Lenovo) via an upgrade from maverick. I tested maverick thoroughly first, since I had to perform the upgrade over the network, due to issues with natty booting from DVD. The upgrade went fine to natty, the system came up and I was able to get on locally and install other packages, though I did notice from time to time a lag in network performance. I installed VNC server and started it, as well as other network related services. However, I am noticing a definite issue with the network support and I suspect the natty kernel. The configuration looks sound, ifconfig, netstat and other functions appear to display the correct information, at least what I had with maverick (which worked).
Has anyone else seen issues with natty and networking? The glass looks okay, though I am using xfce and frankly there is nothing new there to really force me to upgrade, its just that this is a new LT and if I can cold install natty right now, it will save me an upgrade later.
System configuration (lshw) is below, ipaddress removed to protect the guilty..:
description: Notebook
product: 2522AP1 ()
vendor: LENOVO
version: ThinkPad T410
serial: R8M9B2Z
width: 32 bits
capabilities: smbios-2.6 dmi-2.6 smp-1.4 smp
[Code]...
View 4 Replies
View Related
May 12, 2011
I have recently upgraded to the new ubuntu 11.04 but am having problems with the internet. Often When I try to access a website it takes a long time (5-10 minutes) to load even google, and sometimes I just get the following error message:
This web page is not available. The server at google.com can't be found because the DNS lookup failed. DNS is the web service that translates a website's name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Chromium from accessing the network.
Here are some suggestions:
- Reload this web page later.
- Check your Internet connection. Reboot any routers, modems or other network devices that you may be using.
- Check your DNS settings. Contact your network administrator if you're not sure what this means.
- Try disabling DNS prefetching by following these steps: Go to Spanner menu > Preferences > Under the Bonnet and deselect "Use DNS pre-fetching to improve page load performance".
- Try adding Chromium as a permitted programme in your firewall or antivirus software's settings. - If it is already a permitted programme, try deleting it from the list of permitted programmes and adding it again.
- If you use a proxy server, check your proxy settings or check with your network administrator to make sure that the proxy server is working.
- If you don't believe that you should be using a proxy server, try the following steps: Go to Spanner menu > Options > Under the Hood > Change proxy settings and make sure that your configuration is set to "no proxy" or "direct".
Error 105 (net::ERR_NAME_NOT_RESOLVED): Unable to resolve the server's DNS address.
I have tried to access the internet using Chrome, Firefox, Konqueror, on the Untiy Desktop, and the Classic Desktop. I've checked my Proxy settings in Chrome (My main browser) and its set to direct internet connection. I've Disabled the UFW. I've edited the resolv.conf which initially showed:
Code:
# Generated by NetworkManager
domain HG532.com
search HG532.com
nameserver 10.0.0.1
and edited it to:
Code:
# Generated by NetworkManager
domain 10.0.0.1
search 10.0.0.1
nameserver 10.0.0.1
and even tried the Google DNS server:
Code:
# Generated by NetworkManager
domain 8.8.8.8
search 8.8.8.8
nameserver 10.0.0.1
But nothing works. It seems like When I initially log on to the internet it runs fine, but over the coarse of 10 minutes the page loading times go down then eventually I just get the above error message. There are other computers here running windows which connect through the same wireless fine.
View 5 Replies
View Related
May 11, 2011
My plan is to set up a simple webpage using no-ip. I already made an account and downloaded and configures the client. Now I want to make the actual website (hosted on my local machine). How would I do that? I assume I would need a hosting software.
View 2 Replies
View Related
Feb 24, 2010
I am doing samba file sharing. I got struct in problem relating reading passwords. I have to read password whatever user enter from web interface and process it. And through that password and username the user must log on from windows system. I have to write appropriate shell script for this. this is all i am doing for sharing files through samba.
View 2 Replies
View Related
Apr 14, 2011
I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.
So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do
Code:
ftp://my_location.com
a directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be executed running main.html so the address to access the web page would be
Code:
ftp://my_location.com/main.html
My problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com
View 7 Replies
View Related
Jan 16, 2011
I am trying to see whether wget can be used to generate actual url hits on a webpage. This does not look good so far�. I changed the following lines in /etc/wgetrc to:
Code: http_proxy=http : / /<proxy_ip>:<port>/ use_proxy on Output :
Code: root# wget -c <url>/ > /dev/null
--2011-01-16 12:26:38-- <url>
Connecting to <proxy_ip>:<port>... connected.
[code]....
2011-01-16 12:26:39 (88,9 KB/s) - `index.html.3' saved [50548] This does NOT generate a hit on the actual web page! It does not seem like the, > /dev/null part is working either... How can I get this to work?
View 4 Replies
View Related
Mar 23, 2010
I am trying to set up an ftp server on my home machine so a friend and I can exchange large files. I have set up pure-ftp server and gftp client.Pure-ftp works fine behind my Dlink DSL 2740B router using host name '192.168.1.100' but not over the internet using host name '80.47.xxx.xxx' I get the message
Quote:
Looking up 80.47.xxx.xxx
Trying 80.47.xxx.xxx:21
Cannot connect to 80.47.xxx.xxx: Connection refused
Operation cancelled
I have set up port forwarding as per the attachment.I haven't set up a software firewall and my iptables -L looks like:
Quote:
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
[code]....
The username I am using is part of "ftpgroup" and is the same user that works behind the router.Putting the computer in the DMZ doesn't help.I have a similar problem with SSH so I assume the problem is with the router.Other threads suggest the culprits should be port forwarding or a firewall but I can't see what is wrong.
View 1 Replies
View Related
Oct 13, 2010
I have question about the UNIX sockets. my goal is to connect multiple sockets from a single client to a single server and keep them open...I'm not sure if that is possible to create or not. Do you have any suggestion or an example of code?
View 1 Replies
View Related
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