Ubuntu Networking :: Proxy Setting Did Not Allow To Connect To Server
Feb 12, 2011
I used windows OS and installed Ubuntu 10.04 (amd64) in separate partition and works well but had a problem in internet connectivity. Likely reason may be the proxy setting that we used in college (currently). I used this commands to set up the IP address and gateway.
ifconfig -a | grep eth
"eth0"
sudo ifconfig eth0 192.168.5.209 netmask 255.255.255.0
[code]....
Then I manually set the proxy setting of HTTP which is given as proxy server 192.168.5.2 and port as 8000, further more there is a wins setting which is 192.168.1.178, really don't know where to put this number.
Is there a way to connect to a samba share on the other side of a dynamic ssh tunnel?I like to use ssh -D 8080 <host> to access the network on the other side of a ssh session. For applications with their own proxy settings it seem to work really nice.In this particular case I'd like to use the 'Connect to server' feature in Ubuntu to connect a samba share through the tunnel, but I can't figure out how to make only that connecton use proxy settings.If I enforce system wide proxy settings the ssh tunnel will die, so that is not an option.
Having a bit of an issue connecting to my apache2 server. I'm running Ubuntu Server 10.04lts. I can only connect to my website via ip address global, ip address local, and the dyndns domain I have linked to my ip address. I have DMZ setup for my server with a local static address of 192.168.1.100. I can only connect to the default apache page via lan, and It wont load when I try via proxy. I need to know how to configure my router (wndr3300) so that I can connect to my server (address 192.168.1.100) and the pages from outside of my network.
I am running Jaunty 9.0.4. I have go through a proxy to get out to the net. It was working. Sometime yesterday it was unable to resolve the proxy server. Can't even ping it. Other computers can. I even switch cables to no avail. What could block the proxy server? I can't even ping google.com Was it something I installed through add/remove software? Has anyone seen something like this before and even better has a solution or can offer a way to troubleshoot this? I can ping myself and the default gateway server.
I am unable to connect to the Internet in lucid via a proxy server using apt-get or synaptic. Opera & firefox connects to the internet fine with the proxy setting.
I have tried the following solutions:
1) set proxy setting using systems|preferences|network proxy
2) editing ~/.bashrc & /etc/.bashrc
3) creating a /etc/apt/apt.conf file.
4) putting the proxy setting in synaptic
For the proxy setting I have used the both the verbose name as well as the ip address. There is no logon requirements for the proxy server. Either formats work in the browsers.
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!
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;
Setting up an Internet proxy In the past I had set a computer to act as an Internet proxy. This would be multihomed, and running dansguardian, tinyproxy and firehol. Then webmin would be used as interface. By time I realised that this system is far from effective. Is there some other way to setup a proxy to be placed between users and the Internet? I would like (the admin) to be able to see in which sites users go and have a lot of control on access..
I am playing around with transparent proxies, unfortunately I do not have two machines to test it out with. The current way I am doing things is the program makes a request to a computer on port 80, I use
Code:
iptables -t nat -A OUTPUT -p tcp --destination-port 80 -j REDIRECT --to-port 1234 to redirect to my proxy that is listening on port 1234. The proxy will send out a request to port 81 (as all outbound port 80 are being fed back in to the proxy and if it sent out to port 80 it would just be a infinite loop) so I want to do something like
Code:
iptables -t nat -A OUTPUT -p tcp --destination-port 81 -j DNAT --to-destination xxxx:80 The problem lies with the xxxx part. How do I change the destination port without changing changing the destination ip?
I have to set up a proxy for my work's network. No computer except the proxy has a direct internet connection. The proxy will NOT be transparent so it authenticates with Active Directory and allows or denies pages. The squid proxy is up, and working accordingly, denying and allowing what's needed to who's needed. BUT! Thunderbird and Outlook didn't work, so in less than 10 minutes I was forced to fall back.
I read googling a lot, and searching a bit here about socks, which seems to be what I need but also that squid is already a socks proxy. Web pages were the concern, it's not needed that other stuff is authenticated, it might as well be transparent for Outlook, Thunderbird and other programs *for example, it's not needed to block a Warcraft III game, though, allowing it explicitly is not the point either* but as of now, none can connect *haven't actually tried Warcraft though, but stuff like Adobe's updater didn't work either and I recall someone mentioned Windows Live messenger didn't either* The Squid Proxy is a CentOS.
how to lock down individual users from setting a proxy server. Its a server not a WS so it should never go to the internet. I want to lock down the system side and firefox 5 settings.
I got a problem about network proxy setting. With the graphics setting interface, I set auto proxy with the URL address but it is weird that the setting only work with eth1(wireless), doesn't work with etho(wired). however my wireless driver is always a problem for Linux. i also tried export http_proxy= XXXXX:8080 it still doesn't work at all.
i must make this work with the use of virtual pc's. I have vm player and installed fedora ( the latest version ) and one xp . So i have 2 virtual pc's. I'm making it simple for start so i can add more pc's when i see that it is working. I have setup a dhcp server at the fedora virtual pc. The fedora virtual pc is like a soho router. The xp pc is getting ip from dhcp while the fedora one has a static one.
My pc is behind an adsl router. Both virtual pc's can see each other which means i have no connectivity issues.Im trying to setup a squid proxy ( transparent one ) so for example the xp pc can access porn sites and such. I used all required configuration for the squid to work and started the service. Ive also inserted with iptables the commands to forward all incoming port 80 packets to port 3128 ( the squid ). It doesnt seems to be working and i thik i know why but i dont know how to fix it.
Because the xp has a gateway at 192.168.1.1 ( the adsl router ) packets go directly to it and not to the soho router ( fedora virtual pc as i intend to do) What can i do to solve this problem ? How can i forward all packets to go to the fedora virtual pc first and then the fedora pc to forward them (if necessary) to the adsl router? PS. I used Bridged connection on the networking configutration on the vmware player ! If you also want i can post the code for squid or iptables if needed !
Connected to the DSL-MODEM is the PC in question that I can't connect to when using Squid. If I bypass the Squid from the Network and go through the router I can connect to the PC.
I want to be able to use the Squid server and still access the PC connected to the Modem and I want to have a Squid SAR report of the Network PC's accessing the PC on the modem.
The Modem/Router/Squid/Network all use the same IP range, but the PC on the modem has a different IP.
i tried to search for possible tweak in getting conkyForecast connect via proxy server. it connects and functions well when directly connected to internet (from home) but in office, i have to connect via proxy... how i go about tweaking the script to connect via proxy?
I've problems to connect my empathy trough my office proxy. I already configure my amsn to access to my hotmail account and it works but when I try to use empathy it just doesn't connect.
how to connect the database to proxy server.example:: this is the acl in squid.conf to block the website.the keyword that want to block store in file .txt
a bit info, the data that stored in database is a keyword to block the website if a keyword in blacklist match with the url that want access by user. if match so then the user cannot access the website.
When I installed Ubuntu 11 Server, it asked for a proxy http address. I gave it our address, I'll call it a.b.c.d. It did not, however, prompt for the port number (8080). Now, when I do the following:
sreeve@pto:~$ !20 sudo apt-get update 0% [Connecting to a.b.c.d (a.b.c.d)] [Connecting to a.b.c.d (a.b.c.d)]
it just sits there for a while and then says:
unable to connect to a.b.c.d
Is there a way to give it a proxy http address with the port number also?
I use Fedora 14 and Firefox as my web browser. I use Astrill VPN service. I have the following persistent problem: I start my computer. Astrill is not set to start on boot. I start Firefox. Firefox can not connect to anything, it says 'proxy server refusing connections'. I go to Edit>Preferences>Advanced>Network>Settings I click the radio button 'no proxy'. The problem remains. I am completely unable to connect to the net. Even on reboot, I cannot connect. On reboot, Firefox is set to use a proxy, although it was not on shutdown. Some init script is setting this. My normal connection is often faster than through Astrill, so I only really need to use it when I want to get at a website that is blocked by the govt here in China.
where Firefox is being told to use a proxy, and how to reset it to not use a proxy, assuming Astrill is not active. There must be something left in a .conf file somewhere which is overriding the settings in Edit>Preferences. Because, if I set it now to 'no proxy', I cannot connect to the net.
I installed and configured a squid transparent proxy on my linux os at work. Also it is veryslow but every thing is ok while I do not try to use port 443,so when I try to use sites like mail.yahoo.com or other which are using https(443) port and the method used is CONNECT I see some errors in access.log like:
while configuring the yum through proxy i was configures with some address(10.x.x.x). after the proxy address has been changed(172.x.x.x).according to new proxy address i made changes in all locations in my system. but when i am trying to download through command line still it is trying to connect old proxy address(10.x.x.x). finally i come to know that, still some location old proxy address (10.x.x.x).is there.
how to troubleshoot this issue.(how to find the location) i was try to debug find the output below DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.
I have installed RedHat 6 Beta to act as a front-end to my SAN using NFS. I understand how to allow users to connect to the linux box using NFS, what I am confused on is how to connect the SAN to the linux box. If this linux server was a virtual machine, I would just add a HD on the VM then partition, then share it using NFS. Since it is a physical box, I am missing how you would connect the SAN to the NFS server.
I've been looking around at how to set up a VPN server on an Ubuntu box that I can connect to from wherever from an iPhone.What I'm looking for is something like this: [URL]but it did not work (Connecting errored out).I've heard of OpenVPN, but will that allow me to directly connect from my iPhone to my home network?
As shown in the image,our lab get the connection from the 'Green-line'.Other network has the IPs 192.168.2.XXX and in our LAN we were given 192.168.1.XXX range. We use Debian server with DNS/DHCP for MAC->IP assignment and name resolution. We can connect to the internet without any problem. My problem is: We can connect (SSH,ping) to the machines with 192.168.2.XXX IPs ,but from that hosts its not possible to connect to our LAN.
I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.
I guess the best way is to use iptables but actually I can't get it working so