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 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.
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 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.
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'm trying to set up a wireless AP with Internet sharing. I currently have the AP setup with hostapd and a dhcp server. The clients can connect but there is not Internet sharing. Now my situation is somewhat uniqe in that my internet connection is my teathered android cell phone. The tether app is azilink and i use openvpn to create a virtual networking interface(tun0).
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 !
My PC is part of a LAN so while configuring eth0, we specify the Gateway to access all other resources in the network. The PC successfully access Internet through a proxy server configured in Mozilla(manual proxy config) but the update option or the Synaptic Pkg mngr are not able to access internet anyway. I have tried the option "Apply System Wide" in "Network Proxy" but no progress so far.
I also tried to forward all request coming for udp/tcp on port 80 to the proxyserver on a specific port, but with no success. Also I can't ping any website from terminal, reiterating the fact that I can access internet in firefox through the proxy on a specific port.
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 want to settup a proxy server who just redirect the internet connection to my second computer. I try Squid Proxy but its too complicated for me. Can you sugest me another more simple program to do what i want?
fedora (iptables) eth0 -private :192.168.1.1 eth1 -public : 186.117.50.6 squid proxy 192.168.1.10:3128 my clients range 192.168.2.0/24
how can i make my clients to browse internet only from proxy server my network is NAT 'ed. Please specify a iptable rule to allow internet access for my clients to browse ONLY if they come through proxy server.
I'm trying to connect to the internet though the terminal and I think i've determined my key is off.
Here is what I do:
Code:
So form this i go:
Code:
where the last four #### are actually the numbers but ii'm not sure if it's possible to reverse a wep. My connection uses wpa & wpa2 encryption but doesn't accept that key. I'm not sure what my key is supposed to look like or be but i'm pretty sure the key is whats keeping me from connecting. If I change my key while browsing the internet i can't get any information. So is it possible to just put in my pasword. Or what is the key supposed to look like?
I just installed Ubuntu 10.04 and am very excited about using it for the first time. I am very new to computers and stuff though so I don't have much of a clue as to what I'm doing. Although it installed fine, for my wireless connection it says "device not ready". What does this mean and how do I connect to the internet?
I set up a static IP address yesterday, following the instructions at the top of this page and since my machine no longer connects to the internet (although all other machines are connecting fine, so I know it's a result of this change).
I have virtual XP set up with VirtualBox and I can't (been trying for a couple weeks now) to get an Internet connection on the VM. I have tried using NAT, bridged adapters and nothing.
I just installed Ubuntu 10.04 . Need to get my wireless router working on my HP laptop. Have been using a Linksys WRT54G Router with windows and it is working properly. Tried setting up in NetworkManager but it does not work.
When looking at things in the Ubuntu terminal it says the network is DISABLED.
I have tested several Linux Distros over the last weeks, and with all of them my DSL connection have been working out of the box (for intance Mandriva, Ubuntu, Mint). But it does not work on Dreamlinux, neither on Live CD or now where Dreamlinux is installed on my harddisk.
According to the guidelines provided by my Internet provider I need to use TCP/IP and activate DHCP. And make sure that PPPoE is not activated.
I see nowhere I can do this in Dreamlinux. In the controle panel i can run Wicd. Then I can chose to de-activate Wicd - this gives me an option of entering Adress, Networking mask, Gatway and Nameserver - for static ip it says - and this is the opposit of DHCP, right??
SO - what to do? Should I get a debian package or something? (Dreamlinux is using debian packages, as far as I could see)
I recently used this process to connect my Samba network to be able to access and allow Windows XP machines to access my computer on my office network.
For various reasons, all the XP computers on the network are set to fixed (do we say static?) IP addresses with manual DNS. Hence I realised during the Samba setup that I had to set a static IP on my Ubuntu machine similar to my Windows static IP's (ie 192.168.10.?) in order to be able to see the Windows share PC's properly.
Once I set my Ubuntu machine to static IP of 192.168.10.3 with subnet of 255.255.255.0 and gateway of 192.168.0.1 then I was able to access and be accessed by PC's on the network. However I couldn't access the internet after this. I input the DNS server in the edit connections as you can see per the attachment. All these settings (except the IP address obviously) were all now exactly the same as the PC machines, and I thought I'd now be able to access the windows network, as well as have access to the internet, however, even though my wired network is connected there is still no internet access.
I'm using the GUI under network connections to make all these changes if that is important. I can't understand why this doesn't work?
I have set up one of my linux box as link load balancer for two ADSL connection. After deployment, I have found out that instead of being fast, it has become slow. What I have observed that my request get out to internet but comes back intermittently. Is this a standard scenario ?
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
is there anyway for me to dl a proxy or use a proxy on ubuntu? other than the web based ones. i looked into using system->preferences->network proxy, but that stuff went way over my head. can someone explain this to me? how would i go about setting up a proxy for the web and using it effectively?
I have been using ubuntu for my college work for some time, and suddenly last week for ubuntu users in a specific Department/building lost the ability to connect to the internet through the school proxy.The problem seems to have effected only our department/building .
What is so annoying is even its the same computer we have internet if we use Windows but no internet for ubuntu.When using ubuntu the DHCP server automatically assigns IP's just as before, and we can reach the Default gateway using ping, but cant reach the proxy server. When we ping the proxy we get a message saying it refuses a connection. When using firefox or chrome we get the same message when we try to browse <proxy server not available>. The network guys says that the only change they did recently is to activate ipv6. But i fail to see how this can become a problem.
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;
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. found this link but its a bit confusing. I want to lock the system and mozilla Locking preferences - MozillaZine Knowledge Base I tired this and put the local-setting.js in and now the firefox wont start at all. "failed to read the configuration file. Please contact your system administrator. well read several sites that all say to do the same thing but they are talking windows and mac so may be i am missing something being Linux...So what I did was create a file called
/usr/lib64/firefox-3.0.12/defaults/profile more mozilla.txt //
[code]...
Still get error.this link explains what the setting 0-5 are used for Network.proxy.type - MozillaZine Knowledge Base So i thought this might be a permission issue and did a 777 on the local-setting.js file. Still get the error.
my linux box in the office has an a proxy server to access the internet. i can set this on my browsers. id like to know how i give my shell (bash) the proxy server settings so i can wget,yum install perl modules, etc. on my shell terminal without problems.
I have recently installed tor + vidalia + privoxy on my maverick system. What I was hoping to do was set up transparent routing through tor using the instructions here - [URL] But Ive had no luck with any of the examples given. When Vidalia tries to connect it stops at the point of generating a tor circuit and never gets any further.
i want to setup a proxy authentication on fedora 15 for minimum of 5 users using squid but i had successfully setup a proxy sever on my system and its working perfecly.# vi /etc/squid/squid.conf this was the output.
I was willing to create proxy in between the web app. and MySQL database so that I can do some modification before sending the query to the DB. But how to grep the query in the middle isn't working in the head yet. I found a tool named 'greensql' which captures the query in the middle but couldn't get how they are doing it.