Ubuntu Networking :: Configure Dante SOCKS Server To Route Through VPN?
Aug 31, 2010
I'm trying to configure dante so that it only connects to the internet through the PPTP VPN interface (which is ppp1). My configuration file is currently like this:
Code:
internal: 127.0.0.1 port = 3333
external: ppp1
method: username none
logoutput: stderr
user.notprivileged: abc
[Code]...
View 1 Replies
ADVERTISEMENT
Oct 15, 2010
I'm going to make this as easy as possible for everyone to understand my thoughts. I am trying to install dante socks server on bt4. I'm using the root account incase someone asks.Information on what i have and want:
Code:
root@bt:/# uname -a
Linux bt 2.6.30.9 #1 SMP Tue Dec 1 21:51:08 EST 2009 i686 GNU/Linux
Code:
root@bt:/# apt-cache show dante-server
Package: dante-server
Priority: optional
[Code]...
So what do you guys think i should do? Apart from searching on google wich i already did, but then again i'm no linux expert so i'm not sure what to look for.
View 7 Replies
View Related
Feb 17, 2011
Here's the setup:
- SSH server on Maverick
- Connecting from Windows XP via putty
- XP Firefox using SOCKS proxy over SSH tunnel
What I would like to do is use XP Firefox to download large files from various file-hosters (Rapidshare, Hotfile...), but download them straight to Maverick instead of forwarding the download to XP. Right now, my only option is to remote desktop into Maverick and download it using Ubuntu's Firefox. And simply using wget did not prove to be simple.
View 3 Replies
View Related
May 4, 2010
I'd like to use ssh as a proxy/socks server and redirect all connections through this proxy.
It would look like : ssh -D 123 -N host
iptables ...
I've never used iptables before and I did not manage to find any useful for this particular case solutions on the internet.
So, what's the good way to do that ?
View 1 Replies
View Related
Aug 5, 2010
I downloaded freeSSHd [URL] on my Windows XP SP3 PC and configured the firewall to allow port 22. My grander scheme is to use this Windows PC as a SOCKS proxy server, that I can connect to at school to circumvent internet filtering and keep my data private. Does anyone know of a way that I could somehow get every internet-connected-program/service (chats, email, browsers, etc) to use this encrypted connection without having to configure every program individually? I think this link is on to something, but I'm not certain what he's getting at [URL].
View 1 Replies
View Related
May 8, 2011
I have 3 network interfaces on my Linux Router :
Interface - Gateway - Type
Code:
br0 - 192.168.0.1 - Internet
eth2 - 192.168.1.1 - LAN
tun0 - 10.0.0.2 - VPN (via br0)
What I'd like to do is to route all TCP packets coming from eth2 to tun0 where a VPN client is running on 10.0.0.2. If I delete all default routes and if I add a new route to tun0 like :
Code:
route del default
route add default gw 10.0.0.2
Everything is fine, and everyone on eth2 can reach the Internet using the VPN access. Now the problem is that my VPN client does not allow any other protocols other than TCP. And I also want to allow VPN access only to eth2, no other LAN nor the router itself. use iptables to filter any TCP packets and mark them, so they can be sent to tun0, while any other packets can reach the Internet via br0 (192.168.0.1). I found on the Internet that we can mark packets before they get routed. Using the following commands :
Code:
iptables -t mangle -A PREROUTING -j MARK --set-mark 85 -i eth2 -p tcp --dport 80
ip route add table 300 default via 10.0.0.2 dev tun0
ip rule add fwmark 0x55 table 300
First of all, --dport 80 never work... :/ I wanted to filter TCP 80 packets coming from eth2, but none of them seems to be HTTP packets... oO (very strange...). Nevermind, I decided to forget about the --dport option. I use the "iptables -L -v -t mangle" command to see how many packets are marked, and it is working fine, all TCP packets coming from eth2 are marked. Now the problem is that none of them are routed to tun0 they are all respecting the "route -n" rules... and not the "table 300" rule I have created.
View 4 Replies
View Related
Aug 30, 2010
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
View 5 Replies
View Related
Apr 29, 2009
I would like to add a static route, however I do not understand what is meant by the Address setting below
GATEWAY2=10.241.58.62
NETMASK2=255.255.255.224
ADDRESS2=10.241.57.32
Does this mean any addresses beginning with 10.241.57.32 are routed over the gateway 10.241.58.62 an address range
View 3 Replies
View Related
Jan 28, 2011
Is it possible to for me directly RDP into my company's RDP server from my Linux OS, in same way I can RDP into it from my Windows OS on my work computer or home computer, which has the RDP setup settings you use to create the session?
Of course I can get into the work machine, and then the RDP session, but is there a way to go straight into it without using the Windows Desktop to click on RDP? Does Linux have an RDP program similar to the setup using on the Windows side, in terms of being able to configure the settings to get into an RDP directly?
View 2 Replies
View Related
Dec 26, 2010
i'm attemping to re-route incoming traffic of https to one of my servers. (a windows xp with subversion on it)
problem is if i do that ALL https traffic from other pc's is stopped. meaning i can't get any reply from any url with https;
View 6 Replies
View Related
Feb 1, 2011
I'm setting up apache on centOS 5.5 and administering it from another host on my LAN(this web server has no Xorg). I can ping from the config host to the web server but not the other way. My network is quite a way from being set up so i'm just configuring the web server at the moment, the simplest way i can. It's just trying to get two LAN hosts both with 192.168.1.0/24 I.Ps to talk to each other using a router to connect them.
Here are the outputs of ifconfig and netstat -rn for the web server, the config host and the router:
The ifconfig -a and netstat -rn of the config host are:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
[code]....
View 5 Replies
View Related
Jun 3, 2011
All I want is to be able to access files on one Ubuntu computer from another Ubuntu computer via a home wireless network. I have been at this for a week now. Scouring the web for answers and so far I have come up with this: Port 22 is open. I have both computers IP addr's via right clicking on the network icon-> Connection Information. ssh is installed and running. Both computers are listening on port22. But when I try Places->Connect to server, I get "no route to host". I'm not a networking guru and I'm at a complete loss on this.
View 9 Replies
View Related
Jan 25, 2011
Having trouble getting my Netgear WNA1000 working thru wireless router. Have tried lots of suggestions from other threads to no avail. Someone suggested that th routing table isn't set correctly, so have been trying to use the follwing to make the proper entry in the routing table: sudo route add -net 192.168.0.1 netmask 255.255.255.0 dev wlan0
Result: error message stating with:
"route: netmask does not match route address"
followed by "Usage" instructions which tell me to do what I just did. Any ideas on how I can populate my routing table with correct entry for my wireless card? Not to complicate matters, but I temporarily turned off encryption on my router to eliminate that as a possibility until I get connected. So maybe it'still trying to connect via encrypted mode - do I need to turn off encryption on my (client) end?
View 2 Replies
View Related
Mar 21, 2010
I have a few friends that have seen me bypass firewalls with a socks proxy (SSH). I explained on how it works and how secure it is for browsing the Internet and checking your email in public places. I had at least 6 asked me if I could set up an account on my server for them and they would pay me! Now what I wanted to know was how I can set this up in a server and website where they can register an account and pay me through PayPal! I don't need help setting up the site! Just on how to set up the server to automate this. What tools are needed (ex. ISPConfig, jailkit.... stuff like that?) I don't mind doing this manually but if I get more people that would like this I don't really want to do every single one.
View 1 Replies
View Related
Jun 22, 2011
I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try.
Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo
The Fedora 12 machine has the NFS server running, and the corresponding entry in /etc/exports is
Code:
/mnt/dvd *(ro)
I thought this might be a firewall problem, but it persists even if I turn firewalls off on both machines (client as well as server.) Also, doing
Code:
ssh 192.168.0.105
is OK, so what is wrong with the route?
I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try. Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo
I now tried
Code:
mount 192.168.0.105:/mnt/dvd -t nfs4 /tmp/scaleo
and it seems the mount succeeded. So, instead of nfs, one must write nfs4?
View 9 Replies
View Related
Jul 29, 2009
I have 2 clients (one IP 200.x.y.52 and another 200.x.y.47) in ADSL conection and a same gateway (200.x.y.1).
When the server send an email, the error "No route to host" appear. I used TELNET 200.x.y.52 25 (110 soo) and the error occurr in both servers and both directions. The Firewall was disabled .
View 3 Replies
View Related
Oct 21, 2010
I got this definition:"a process that replaces a series of related, specific routes in a route table with a more generic route." honestly I found it not so clear.. I want to know if this definition is correct and also more details about this subject..
View 1 Replies
View Related
Aug 25, 2010
Scenario:A - Local Unix machineB - socks proxy server port 1080C - remote mysql server port 3306I want to connect to the remote mysql server(C) from local unix machine(A) using sock proxy(B).
View 1 Replies
View Related
Sep 21, 2010
I have openvpn tunnel setup between two CentOS servers. One of the CentOS servers also acts as a DHCP server for some client computers.
Server A= OpenVPN server
Server B= OpenVPN client (connects to Server A with OpenVPN)
The two CentOS servers can ping each other (172.16.0.0/24) via the tun0.
However, client computer connected to Server B (DHCP server) can't reach 172.16.0.1 (which is the OpenVPN server).
I think I am missing some routing in my "ip route show". Following is the full picture:
What command can I issue to get this fixed? something along ip route add?
There is no firewall service on both end. service iptables stop! I can't bridge eth1 and tun0 as DHCP server might mess up the other side. I can't do a push of "redirect-gateway def1" because then clients loose their IP as they send DHCP requests to Server A.
View 2 Replies
View Related
May 8, 2010
configure sendmail to route mail to specific hosts?
View 2 Replies
View Related
Nov 15, 2009
yesterday I installed openSUSE 11.2 on my laptop. But I'm having problem getting the wifi configured properly. During the installation I got the message "No network running" (which I also saw after the installation when using the network configuration module of YaST after switching from ifup to NetworkManager). After installation NetworkManager seemed to work fine, it detected my wifi card, found the network, and I could even connect to it. Then the problems began, no Internet connection. The first thing I tried was pinging Google which yielded an "unknown host" message. So I checked /etc/resolv.conf, to look for the DNS servers, which where missing.
I added them manually and tried again. Still no luck, so I started pinging my router, which worked, tried again pinging Google using one of there IP addresses, which failed. So I ran route to find out which routes where being used, this one gave an unexpected result, because it only showed the route to the local network (I'm not sure about the loopback one, because this was also a lot of times missing when testing):
[Code]...
View 9 Replies
View Related
Apr 19, 2010
That program is recommend by author of foxyproxy extension for firefox,so i installed and connection to socks5 works fine,but i want to set username and password as well,and that for some reason doesn't work.Does antinat support that at all or is that just for local users?Also i tried ss5 socks server which works fine with username and pass but for some reason foxyproxy extension not working with it(on logs i see ERROR IS CONNECT).So basically i need socks 5 server program with username and pass support and it need to work with foxyproxy extension as client.
View 1 Replies
View Related
Mar 6, 2010
how can we setup a socks proxy server.
View 7 Replies
View Related
Feb 6, 2011
I've opened an SSH Tunnel/SOCKS proxy on my Ubuntu server, which I've tested is working exactly as I had intended. However I'd like to access it from my Windows PC which is on the same home network.
Edit : I should say that I got it working on the server only by
Code:
ssh -D 55555 user@host
However if I tried it with a port, e.g.
Code:
ssh -D 192.168.1.101:55555 user@host
then it doesn't work, not even on the server itself. 192.168.1.101 is the static assigned DNS of my server on the home network.
View 1 Replies
View Related
Feb 24, 2010
I have been ssh tunneling, which works great.I can browse the internet by simply tunneling my traffic through my SSH server.the following command: ssh -ND 9999 username at myserver.i cant postlinks.is all I have type, and I can connect to a SOCKS proxy server on localhost:9999.My problem is that I have an application that only supports HTTP proxies.Is there any way I can get it tunneling over the socks proxy?
View 4 Replies
View Related
Mar 30, 2010
I have an interesting situation. I'd like to use bittorrent for legitimate purposes (mainly linux distro based) but the powers that be have blocked access to bittorrent at my university. I have an ubuntu VPS that I use for odds and ends and was thinking that I could setup a SOCKS5 server on it. That way, I can input the SOCKS5 info directly into the proxy section of my local bittorrent application (Transmission 1.92 running on snow leopard) and be good to go. The problem, however, is that I cannot find a way to get a SOCKS server up and running on my VPS. I've heard that ssh can be used as a simple SOCKS server, but I've also heard that i may need to install a more complete SOCKS server such as dante. Does anyone have any thoughts on this?
View 1 Replies
View Related
Apr 18, 2011
I installed dante from yast on opensuse 11.4 and edited /etc/socks.conf to reflect my network configuration but when I try to socksify a command, nothing happens. Even a non-network command, such as "ls -l" does nothing when preceded by socksify.
View 9 Replies
View Related
Jun 22, 2011
am getting an error "java.net.SocketException: Malformed reply from SOCKS server" when trying to create a socket to an ip.but when i use localhost,its working fine
Error
Socket skt=new Socket("192.168.1.18",4000);
working
Socket skt=new Socket("localhost",4000);
View 1 Replies
View Related
Jun 16, 2011
I use ssh to port forward my browser(firefox) using SOCKS to a "server"(ubuntu desktop with ssh ) I have in the UK, to watch iplayer etc wen traveling... I forward port 1024 (default port for SOCKS? **mite b untrue..). the "server" is running ubuntu 11.04.
could i set up a transparent proxy(squid) on the "server" in the hope tht it speeds up the connection etc... my thot was get squid to listen on port 1024, or set up the ssh port forwarding to the squid port... would tht work? is the a better/different way to do it? the issue is tht sometimes the ssh connection can b slow at times
View 1 Replies
View Related
Jul 22, 2010
I have an internet connection through socks4 proxy form a server nearby to my laptop(fedora 12) i need to update and install sofwares. How to configure yum to use the socks proxy?
View 2 Replies
View Related