Ubuntu Networking :: Using The Ipredator On 10.04?

Jun 30, 2010

use Ipredator on Ubuntu 10.04? how to set up Ipredator on Ubuntu

View 2 Replies


ADVERTISEMENT

Ubuntu Networking :: Connecting Multiple PCs On IPREDator?

Apr 10, 2010

I recently signed up for the IPREDator service, and one limitation I've found is that having 2 computers I cannot have both of them connected at the same time. So, I decided to have 1 of them connected (my 'server'), and have the other route all of its traffic over the 'servers' VPN.

My server connects to the IPREDator VPN on interface ppp0.
My server will allocate ppp1 for the VPN from my client.
My server's LAN address is 192.168.1.1.
My client's LAN address is 192.168.1.2.

On the server perform the following...

Code:

sudo apt-get install pptpd

Modify /etc/pptpd.conf to have the following options:

Code:

option /etc/ppp/pptpd-options
logwtmp
localip 192.168.1.1
remoteip 192.168.1.100

[code]....

We need to restart the PPTPD and Networking on the server (I would just restart the server). Make sure you connect to the IPREDator VPN on the server first (otherwise ppp0 won't be assigned to it).Click Network Manager, VPN Connections click on your new VPN.

You should be prompted for your password (default in this guide is just 'password'). You should now be connected via PPTP to your server, which is in turn connected to the IPREDator VPN, and all of your traffic should be tunnelled as such.I've probably made a ton of mistakes in this guide, and there's no doubt a hundred different ways to make this more elegant.

View 2 Replies View Related

Ubuntu Servers :: HOW TO Be In Two Places At Once A.k.a Ipredator Independent Of The Default Route

May 4, 2010

I have a home server running Lucid which basically runs our home lan, but I also wanted to be able to run transmission-daemon over an ipredator VPN connection completely independently of the ethernet port (as far as the application layer is concerned anyway). Most of the howtos for setting up VPN use the VPN as the default route, however I still wanted to run a webserver, dnsmasq etc, not to mention free bandwidth access to my ISP etc.

Thus, this howto. The ppp connection still tunnels through eth0, but as far everthing else is concerned my server has two independent network ports eth0 and ppp0 and applications use the default route via eth0 to our router unless explicitely directed down pppX. I assume that you already have transmission-daemon installed.

[Code].....

View 9 Replies View Related

Fedora :: Setup - And IPredator With Custom Routing

Sep 1, 2009

Background: Took a while to get this working correctly, so figured I'd save you all some time... I (finally) received the beta invite from iPredator. I wasn't happy with the NetworkManager-pptp implementation, I'm running the stock kernel, I stopped the NetworkManager service at this point.

Goals:
1. To be able to control the PPTP tunnel from a remote location over ssh
2. To have services I run from my box accessible via my public IP on the internet (sshd, httpd etc) whilst the tunnel is up
3. To route all Torrent traffic from Vuze out of the encrypted PPTP tunnel, and have it return over that interface
4. To route all other traffic, by default, to my ISP unencrypted
5. To block all Vuze traffic if the tunnel is down

Method:1. PPP config

First, I entered my login details (altered in the below output, of course!!) into chap-secrets and then used "chmod 600 chap-secrets" to make it read/write for root only:

Next, I created a peer file (644 permissions) for the VPN connection, the file name has to match the "iPred" I used above:

I stuck with the defaults in /etc/ppp/options.pptp

To initiate the tunnel, I use: pppd call iPred mtu 1435 mru 1435 persist nolog

Regarding the options used... I'll get onto the MTU/MRU later, persist has the tunnel attempt to reconnect 10 times if it drops, nolog reduces the high volume of syslog messages. The logs for the connection process are written to /var/log/messages, interface ppp0 was created and routing entries were set up (internal network stuff has been cut out below; we'll call 192.168.100.104 my WAN IP, though I've got a static internet-routable IP and wanted to mask it here). The (dynamic) endpoint of the tunnel is 93.182.164.2: you need two routes to this, one via eth0 (my WAN interface) for internet routing of the encrypted packets, and one through the tunnel itself to tunnel and encrypt the traffic:

References:[url] [url]

2. Firewall Setup

I'm a "belt-and-braces" kinda guy ("belt-and-suspenders" if you're from the US), and I've got a custom firewall setup. As I've brought a new interface into the equation, I needed to add some rules.

In order, the rules:

A. NAT the outgoing packets to the ppp0 interface IP
B. Allow established sessions back in
C. Allow the default ports for Vuze through, even if unsolicited, on port 63255 (TCP and UDP)
D. Drop traffic that originates from Vuze (identified by the IP of interface lo:0, which we'll see later) if it tries to exit via eth0 (useful if the tunnel drops or hasn't yet been started)

You can view the rules in place by issuing: iptables -nL

References:man iptables [url]

3. Routing Setup

Obviously, I didn't know who the Vuze peers are going to be and setting a default route via ppp0 means that all traffic would be encrypted. Instead, I created a new, distinct, routing table called IPRED in iproute.

Then I added a default route, via ppp0, into the IPRED routing table and checked that it was there:

The main (default) routing table is still there and has it's routes:

4. Traffic Identification

I tried setting the DSCP (ToS) in Vuze, but that didn't make it into the packets (checking the output packets with Wireshark). So, I created a new Loopback interface lo:0 on my box (later I entered this line into /etc/rc.local so it'll survive a reboot):

I then added a rule to pass traffic from this new lo:0 IP to the IPRED table:

There are a number of other ways to pick out traffic with "ip rule", but this seemed the most elegant solution in this situation.

5. Vuze Config

I looked down the list for the local IP addresses, then bound Vuze to the lo:0 interface which, in Vuze, is lo[1]

Whilst in here, I also dropped the Line MTU to 1435. You'll notice that this matches the MTU and MRU set when using pppd to establish the tunnel... I'm on DSL and have the MTU set to 1478 for the DSL link, the difference between the 1478 and 1435 is the overhead of the additional headers used with PPTP tunnelling (both PPP and GRE headers encapsulate the packets). With the MTUs set up in this way, I shouldn't get any fragmentation of packets on the link, packets with the DontFragment bit set shouldn't get dropped. I gave Vuze a restart.

6. Verifying Operation

I closed any apps that were using the internet, fired up Vuze, loaded a torrent, then opened two Wireshark windows.... Started Wireshark#1 on the eth0 WAN interface and Wireshark#2 on the ppp0 tunnel interface. I saw a long list of PPP and GRE packets (in white) scrolling on the eth0 window, showing that Vuze is going through the tunnel. Checking the ppp0 Wireshark window, I saw the actual Vuze traffic on the ppp0, with SYN's, ACK's, http packets etc as it's being sent down/back through the tunnel.

Starting firefox and visiting www.whatismyip.com, the IP reported was my eth0 address, I saw the http traffic on Wireshark on eth0. Starting e-mail, I saw the packets on eth0.

Dropping the tunnel, I checked Vuze, saw that torrents had stopped and confirmed that I couldn't connect to the net with it.

7. DNATing

Reconnecting everything, I sat and watched the Wireshark outputs on ppp0 and eth0 for a while to make sure everything was working. I noticed that the ppp0 interface was creating a lot of ARP requests for external IP's and sending them out, unencrypted, through eth0 - BAD news!! I'd forgotten that I would need to Destination NAT the unsolicited inbound connections... D'Oh!

As the unsolicited inbound connections are directed at the internet-routable tunnel IP of ppp0, we need to point these to the lo:0 interface that Vuze is listening on. Replies to these will be NAT'd back to the ppp0 address by the MASQUERADE rule we've already entered in iptables and, since the source IP will 172.27.72.64, the packets will match the ip rule pointing them to the IPRED routing table, thus they won't generate ARP requests.

Retrying everything with the firewall updated, everything is working 100% :-D

8. Misc

As the iptables rules have been saved, and lo:0 will survive a reboot in /etc/rc.local, the only commands that need to be run each time you want to bring up the tunnel are (easily scripted with a sleep statement of about 10 seconds after pppd call...):

And, if you wanted to just send all traffic over ppp0, this would be:

Conclusion: I love Linux, an intellectual challenge, having complete control over my PC; iPredator rocks and I hope this howto is of use to anyone running Fedora and iPredator :-D

View 4 Replies View Related

Ubuntu Networking :: Find Directions On Networking Two Computers Together In Order To Share Files?

Nov 20, 2010

I am having a heck of a time trying to find directions on networking my two computers together in order to share files. I have two machines running Ubuntu 10.10 Desktop & Netbook remix.

They are both connected to my wireless router to connect to the internet.

View 9 Replies View Related

Ubuntu Networking :: Error Appearsubu@ubu-AOD255E:~$ Sudo /etc/init.d/networking Restart?

May 21, 2011

trying to bond two 3G modems but I cant Im really new in this matther so I really This is the error that appears

ubu@ubu-AOD255E:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface ppp0=ppp0.

[code]....

View 3 Replies View Related

Ubuntu Networking :: Cable Modem Networking - Can't Connect To Each Other On The Home Network

Feb 14, 2010

I just got connected to Charter Cable Internet service a few days ago and I'm having a weird problem with my home network. Prior to this my network worked fine. On my network I have a desktop running Ubuntu 9.10/64 and Virtualbox with WinXP installed, an HTPC with Ubuntu 9.10/32 installed and a laptop dual booted with Ubuntu 9.10/32 and WinXP. The desktop and HTPC are hard wired to a wireless router and the laptop is wireless. The cable modem is hard wired to the router. I have samba installed and UFW is disabled. The problem is: with the cable modem turned off or on standby, all machines connect to each other and can transfer files, etc just fine but when I activate the cable modem all of the machines can connect to the Internet but the machines running Ubuntu can't connect to each other on the home network. If I boot the laptop into Windows, it can connect to the Linux machines just fine but if I boot it into Linux, it won't connect to the Linux machines but it can connect to the Internet and as far as the desktop, Ubuntu won't connect to the network but Windows running in the Virtualbox with bridged networking can connect to all of the machines.

View 2 Replies View Related

Ubuntu Networking :: Crosswire Or Ethernet - Make A Server Box My Entrypoint To My Networking

Mar 1, 2010

Im trying to make an ubuntu server box my entrypoint to my networking. Meaning itll function as a server, a firewall, and a gateway. so i already installed dhcp3 and a dns server.

I have 2 ethernet cards in it. So now i wonder, should i the second card into a router's modem/wan port and make the router a switch? or should i plug it into one of the routers lan ports?

View 3 Replies View Related

Ubuntu Networking :: 9.10 Updates Yesterday/Today Cause Packet Loss On Networking

Apr 9, 2010

I have 3 Dell Precision M4400 machines. After getting updates yesterday or today, I get random network dropouts like crazy, on wired or wireless. On one machine I was able to turn off ipv6 in grub and reboot, and it works now. However on the other 2 machines, still have the same problems. All 3 are running 9.10 64 bit. Is there a way I can back out the updates so the network works again? Anyone else see this behavior after updates today?

View 2 Replies View Related

Ubuntu Networking :: Networking In 10.04 - In Network Manager There Is Not Way To Select My Modem In The First Step

May 3, 2010

I'm try to create a mobile broadband connection using my Huawei E 1550 medem. but in Network manager there is not way to select my modem in the first step ( device selection step ) the drop down menu is locked. what to do ? how to configure my modem with ubuntu ?

View 1 Replies View Related

Ubuntu :: When Click On Networking Icon In System Tray - Says Networking Disabled

Jul 13, 2010

I do have internet cause I am using it on W7. The only thing that I have done different is I left the pc on over night so I guess it went to suspend for the first time. Then I powered off. After turning the pc back on and logging in I have no internet. Not even with the Ethernet plugged directly in. There is supposed to be a little blue light on when it sees the wireless and that is off. When I click on the networking icon in the system tray it says networking disabled. It shows no wireless. When I plug directly in I still get nothing. I'm using 10.04

View 2 Replies View Related

Ubuntu Networking :: Drivers For Belkin Double N And Wireless Networking USB Adapter?

Aug 3, 2010

Ok, so I am needing some drivers and I've been googling like hell to find em, however, I can never seem to find any. My adapter model is F6D6050v1.

PS: when I try sudo ndisgtk it comes up with command not found.

View 1 Replies View Related

Ubuntu Networking :: Wired Networking Not Working At Work - Fine At Home ?

Aug 24, 2010

I just started having a problem with my 10.04 laptop a few days ago, maybe Thursday, last week. When the computer is plugged into my home network (standard 192.168.1.1 sort of IPs) it works fine, but when I try to connect to my work network (130.15.90.XX) I am unable to pick up an IP. The router in my office is working fine, all the windows boxes can connect.

I've also noticed that when the computer is plugged in at work the notification icon for the networking indicates it is looking for a wireless connection (rather than the normal up/down arrows), even if wireless is deactivated

I can set a static IP in /etc/network/interfaces and everything works, so it seems to be a DHCP problem?

View 1 Replies View Related

Ubuntu Networking :: Wireless Networking On Packard Bell Easynote Tn36

Nov 7, 2010

I'm using a Packard Bell Easynote Tn36 laptop, and I'm having trouble with Ubuntu 10.10 and the wireless network card, (probably because of lack of driver). I.e. it is disabled.

How can I enable it?

I input this code:

And here is the output:

View 9 Replies View Related

Ubuntu Networking :: Network Manager Applet Enable Networking Unchecked

Apr 2, 2011

Whenever I start up my laptop i do not get a wireless connection automatically. I have to rightclick network manager applet and select enable networking. After that everything works fine untill i shutdown and restart my laptop. I would like a way to change this so that my wifi connection is working whithout having to click something first..

OS:Xubuntu 10.04 LTS!
hardware: dell inspiron 6000
nm applet: 0.8.?

View 6 Replies View Related

Ubuntu Networking :: Dual Ethernet Networking - Lose Internet Connectivity?

Apr 18, 2011

I have a server with two ethernet ports. I configured eth0 to be static, set at 10.1.10.148. I plugged in another router into the other ethernet port in order to configure that router. I configured eth1 to use dhcp. Using /etc/network/interfaces rather than gnome network manager. When I did this, I lost internet connectivity (internet routes through eth0 of course)

- Why did I lose internet connectivity?

In order to recover internet activity, I had to disconnect the new router on eth1 of course, and do sudo ifdown eth1. That wasn't enough however. After rebooting numerous times and pulling out my hair, I finally tried configuring eth0 as dhcp, rather than static, and this fixed the problem.

- Why didn't sudo ifdown eth1 solve the problem? What information was saved between reboots that somehow remembered that I plugged in the new router? Because my thinking was if /etc/network/interfaces was identical, and the network topology was identical, after a reboot everything should be restored, but it wasn't.

View 7 Replies View Related

Ubuntu Networking :: 11.04 Networking - No Ping Response - Edit .conf File?

Apr 27, 2011

I can connect to the internet and browse. I'm wired and using DHCP on a Windows network. Updating Ubuntu or downloading programs takes hours for 52MB of updates. Why? I read some articles that mention Network Manager needs to be enabled at the .conf file. Can I edit this using GUI or command line only?

View 9 Replies View Related

Ubuntu Networking :: Networking Widget Fails To Enable Wireless Card / Fix It?

Apr 30, 2011

I just upgraded to natty last night, and everything is working fine except for the network manager. I can enable and configure the wireless card via bash, but the network manager widget will not manage the wireless card.

When I first boot up, the "Enable wireless" check box is greyed out. After I enable the card via the terminal, the "Enable wireless" check box becomes ungreyed, but every time I click it, it instantly unchecks itself. I feel like Currly from the Three Stoogies. Check, uncheck, Check, uncheck.. "Slaps face repeatedly."

View 2 Replies View Related

Ubuntu Networking :: Wireless Networking On Packard Bell Easynote Tn36 - 11.04

May 1, 2011

I have Packard Bell easynote tn36 and I used to use ubuntu 10.10 and then when I upgrad it to ubuntu 11.04 the wireless doesn't work (disable) and I can't press the botton of Enable wireless.

View 9 Replies View Related

Ubuntu Networking :: Unable To Connect To A Small Number Of Random Websites: Otherwise Networking Is Fine

Dec 29, 2010

I was having no problems (that I knew of) browsing the web since installing Ubuntu 10.10 a week or so ago. I was previously trialling Win7 as my customers will likely be using that in the future. Then I wanted to go to internode.on.net. Got the following: Quote: Firefox can't establish a connection to the server at internode.on.net. or Quote: Oops! Google Chrome could not connect to internode.on.net

As it was just after Christmas I thought it must be down, for upgrades or maintenance etc. I later tried to go to Freebsd.org; same error. I've been having a small number of other websites give the same error. I thought nothing of this until I tried it on my wife's macpro. I could log onto all the websites I wanted to and none gave any indication of having been down. Both boxes are on the same adsl connection. I still can't access internode or freebsd on 10.10 yet have been able to access every website on OSX. Now, I was only looking at them for info but am worried I won't be able to access something important. (so far everything I 'need' is working)

ping just drops out. edit: weirdest thing! I just retried and now can not emulate the problem for internode. freebsd still won't show. that is less than five minutes between problems and resolution! I hadn't even posted! But I still would like to have an idea of what is going on. Here is the ping error for freebsd: Quote:

[Code]...

View 9 Replies View Related

Networking :: Networking Is Not Getting Out Of The Dosbox Instance \ Needs To Have Some Config In Place To Link Networking Over To Dosbox?

Jan 31, 2011

I am attempting to setup and old BBSinside of DosBOXI've built one of the DosBOX Megabuilds, with the NE2000 patch.It uses libpcap in order to piggy back on top of the system's NIC. All of the dosbox side appears to be working.My system comes up, gets the MAC address i told it to use, i can load a packet driver in dosbox, all of that seems well and good. The issue, i think, is on the linux side. It's built on a Fedora 14 box. I'm getting the feeling that networking isnt getting out of the dosbox instance. Does it seem possible that fedora needs to have some config in place to link networking over to dosbox?

View 7 Replies View Related

Ubuntu Networking :: Samba And Windows Networking - Read / Write Access To All Folders Contents From Both Machines

Mar 9, 2011

Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?

View 7 Replies View Related

Ubuntu Networking :: Acer Travelmate C110 Networking Disabled

Mar 8, 2010

I have just finished installing 9.04 via USB onto an Acer Travelmate C110.For the record, 9.10 refused to even boot on this laptop. I used universal-usb-installer and unetbootin, both without success.The installation completed successfully, except that wireless networking is not enabled. Can someone please point me to the correct resource whereby I can get the wireless nic working.

View 3 Replies View Related

Networking :: Major Failure On Part Of Ubuntu Related To Networking / Fix It?

Mar 31, 2010

After deleting part of the gnome config directories in order to reset gnome (GUI was messed up - No title bars, etc). I lost my bluetooth tethering to my Nokia N900. I cannot redo it as it always fails. Linking from phone to Laptop works, but cannot use it to link up to the internet then. Cable to the phone always worked up till now. Now I cannot get a connection as it stopped working after my upgrade to 11.04.

View 3 Replies View Related

Ubuntu Networking :: Android/ Networking - Stream Media From PC To Phone?

Apr 10, 2010

I am running K/Ubuntu 9.10 with an HTC Hero (CDMA) running Android 1.6.

I would like to be able to stream media from my PC to my phone. Much like what gMote does but you can play it on your phone and not just navigate.

Also, does anyone know a good way to upgrade my HTC Hero (CDMA) to 2.1?

View 1 Replies View Related

Ubuntu Networking :: Startup Networking Automatically Using /etc/network/interfaces

Jul 2, 2010

I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.

[Code]....

eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Networking Connections Not Listed In Network Manager

Aug 23, 2010

Neither of my wired network connections are listed in the network manager applet. I know that networking seems to be functional since I can ping local devices on the network. I can't resolve DNS names however. I suppose this is because network manager usually handles DNS? I've posted the outputs of various configurations below.

Code:

/etc/NetworkManager/nm-system-settings.cfg
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in

[code]....

View 4 Replies View Related

Ubuntu Networking :: Sudo /etc/init.d/networking Restart For Karmic?

Oct 2, 2010

It didn't work. I plugged the cable back in, and it didn't auto-connect, and still says no connection is available after doing the CLI command.

View 2 Replies View Related

Ubuntu Networking :: Icon Said Networking Disabled But Internet Is Working

Oct 10, 2010

I can't upgrade to Ubuntu 10.10 because it said that there's a problem with my network connection. When there's none, since I am typing this now.

View 2 Replies View Related

Ubuntu Networking :: Wired Networking - Connection Works But No Internet

Jun 1, 2011

I just installed Ubuntu 11.04 desktop on my desktop in dual boot with Windows 7.

Heres my problem, I am unable to connect to the Internet even though my wired Ethernet connection says it is connected normally. The wierd thing about this is that I also have a wireless card in my desktop and when I connect through that I am able to connect to the Internet. I am connecting to a router that is functioning as a repeater to my main router/cable modem. I have tried to solve this myself but am having no luck. Ironically, earlier today suddenly my ethernet connection worked for a few minutes without me modifying anything.

The output of some terminal commands are below.

Quote:

Quote:

Quote:

However a pint to that ip address (my router) is successful.

Quote:

Hosts.allow and hosts.deny are both fine (not blank but no entries)

View 1 Replies View Related







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