Networking :: Policy Routing Using Two Point-to-point Links?
Aug 27, 2009
This one has been driving me nuts for some days now:My Gentoo box which is acting as an internet gateway has two point-to-point interfaces, ppp0 (PPPoE to my ISP) and ppp1 (PPTP VPN link to IPREDator). Packets from my local network are just routed through ppp0 and now the fun part starts: I want to MARK (netfilter...) all packets originating from one specific user on that box in order to use another routing table that will contain a default route via the ppp1 interface.Marking seems to work fine as does the second routing table. But quite mysteriously (at least for me), the packets sent out on ppp1 contain the wrong source IP address, namely the address associated with ppp0.So here is what ifconfig and friends tell me:Network interfaces:
Code:
# ifconfig ppp0
ppp0 Protokoll:Punkt-zu-Punkt Verbindung
[code]...
View 9 Replies
ADVERTISEMENT
Mar 28, 2011
I recently installed the pptpd server on my system and set it up according to these instructions:HTML Code[URL]t=132029However after setting everything up on attempting to connect to it from a windows machine (windows 7 home premium to be specific) it gives me two errors which are 720 and 800...It reaches "registering your computer on the network" fine and then gives 720 on the first attempt to connect and then 800 on the second attempt to connect...and then on the third 720 and 4th 800 and so on..My system running the server's I.P is 192.168.1.70My system running the windows OS trying to connects I.P is: 192.168.1.66
View 2 Replies
View Related
Jun 3, 2010
I was wondering if there is any way to SSH from one computer to another and completely bypass a router or any other network infrastructure. The reason I ask is because my robot ( same one in this post ) often needs to change which wireless network it automatically connects to, however it is getting annoying to have to drag out a monitor and plug it in along with a keyboard and mouse every time this needs to happen. Instead I'd much rather just plug my laptop into the other computer, SSH in and change the network myself.
So I thought I would ask you kind people if this is possible. The robot's computer has unused ethernet and USB ports, and I'd like to use those if at all possible (and with linux, anything is possible! -- sorta). I thought about doing something with ad-hoc, but this would limit my range (in infrastructure mode I can control the thing anywhere there is internet), and is to be avoided.
View 1 Replies
View Related
Nov 10, 2010
Is there a way to configure Squid to get the filtering policy from a central policy on a web server.
like squid pointing to [url]
View 1 Replies
View Related
Mar 25, 2010
Seems like this should be a simple question, but I've looked around and have not found an obvious location to keep custom policy based routing rules in Ubuntu./etc/network/if-up.d comes to mind, but I was wondering is that was a "standard" spot. Also it doesn't seem like these rules really need to run each time an interface is up'ed or down'ed.
View 4 Replies
View Related
Jan 22, 2010
I'm having trouble to configure my debian (2.6.26-2-686) with some routing tuning. In fact, I have a VPN provider. I want my Squid Proxy use this VPN provider and I have to use policy routing because my ISP forbid IP spoofing.
View 2 Replies
View Related
Jan 22, 2010
i have an AP set up and would like to have all requests for a website sent to a specific ip address.. and am trying to get this to work in IP tables
user-->AP-->google.com
no matter what site they try to goto it takes them to [URL] i want to use this to require people to login to my server when they connect to my AP before they can go any further.
View 4 Replies
View Related
May 11, 2010
Where are the mount points for smb shares connected via "Places -> Connect to Server"? I assumed them in one of the usual places like
/mnt
or
/media
but these folders are both empty. There are a couple of applications which are not capable of accessing my shares because i can't navigate to the right location...
View 9 Replies
View Related
Jul 7, 2010
I have a wireless network in my house through a Zyxel P-320W router, and I've noticing that the signal strength isn't very good in the basement. Now I have this old D-Link-624+ router lying around for a long time and I've been hoping to get it to work as an access point, that way I can move freely around the house without changing which router I'm connected to.
View 3 Replies
View Related
May 21, 2011
i'm using stuido 10.10 and am trying to get wireless to work. i've used Network Settings to enable the wireless connection with correct ESSID and Network Password, though when i type iwconfig it says Access Point: Not-Associated.how do i associate with the AP?
View 2 Replies
View Related
Jun 13, 2011
I want to do some basic web hosting, mainly for the experience. I have verizon fios for my isp, and what i am wondering is can i have the public ip address that they give me when i connect out to the internet point back to my linux box?
The reason that i am asking this is because i want to register a .com and i would like to have that point back to my linux box, i have looked at a few services and it seems that godaddy.com will do this and they seem to be the best choice. Before i register the .com i turnd on my httpd server but i am not sure how to get the public ip point back to my box...?
I have been doing some research and i am learning about things such as
ddclient
openvpn
port forwarding
nat
dynamic dns
Verizon fios like most isp's uses a dhcp connection meaning that the public ip address i get will change 1-2 a year. What i don't know is how can i setup my network at home preferably with iptables to have that public ip routed back to my linux box at home? I am using fedora 15 for those that are wondering...
Also when i enabled port forwarding and started my web server and tried loading http://mypublicipaddress in firefox i am directed to a verizon page with a login and password prompt.
I am aware that i will need to get certain information from my isp to have their public ip address routed back to my linux box but i am unware of what to ask them...?
If anyone here can tell me the following i will be so happy because it seems like a lot to hosting at home but i really want to learn...
here is what i need to know?
1) What kind of questions and information do i need to ask and get from my isp? DNS info? Logins and Passwords?
2) What do i need to do on my linux box to have that public ip address routed back to my linux box at home?
3) What rules do i need to add to my iptables script to allow this, i know there are certain nat rules that need to be added and port forwarding is needed as well..
4) anything else you can think of that i need to do...
View 9 Replies
View Related
Jul 1, 2010
I am using a gateway server, 1st NIC eth0 which is acting as WAN (DHCP)and 2nd NIC acting LAN(static). I am using DHCP to assign IP to eth0 from a Wimax modem. I am also use it as a MAIL server (openmail), and as a DHCP server. My server is of RHEL and kernel version is 2.4.8.18-14 and DHCP client & server version - 30pl1-9. The prolem is whenever I run the command..
ifup eth0
getting the error...
Determining IP information for eth0.../ifup: line277: 23328 Floating point exception/sbin/dhclient ${DHCLIENTARGS} ${DEVICE}
so what should I do?? if I update the DHCP, would it be ok?
View 1 Replies
View Related
Feb 2, 2010
i have a problem with connecting to AP with static IP. i have set the IP, netmask, and gateway manually thru network manager but still no luck. the status is connected but i cant even open a webpage. ifconfig command output not showing the IP address i entered.
View 1 Replies
View Related
Aug 11, 2010
About two years ago, my church set up a wireless access point. They gave it a WEP encryption, and wrote all the keys down on a piece of paper and taped it to the router, which was in full view, and reachable for anyone to get what they need and connect. I used it once, saved all the settings to the default network manager applet on my laptop (running Fedora Core 12), and put it back. Earlier this year, the front hall (where the router and paper with encryption keys was stored), was completely redone, and the router put up in the drop ceiling.
Mistake. Now the darn thing is sitting on top of Fiberglass insulation, and impossible to get to. There are people who need to connect, but since it's a church, and they don't really understand, they went and buried that router WITH all the encryption keys. So long story short, I need to get these people connected, but need to find the key... preferably without Hacking in. Is there a way, on the default "Network Manager" Applet, or in the terminal to VIEW saved keys?
View 1 Replies
View Related
Mar 19, 2009
OK, what I want to do, I think is possible but I dont kno name of it or how 2 do it under even windows for that matter. I have my current PC connected via Ethernet directly to my house router. Now on this Motherboard, I also have a wireless nic that I have no plans on usin. Can I turn it in2 an access point/wifi for other devices like iPods, Wii, Labtops, ect?Also, how would I do it if not Wifi, use the other Ethernet port to plug up say a labtop. In which the labtop uses the net I am getting from the router?
View 1 Replies
View Related
Apr 12, 2009
I'm sure that some of us techies have found the need from time to time to have a portable wireless bridge (see ascii art below) on our jaunts into the big bad user-woods, and I am here to ask the question of HOW to pull this off, with the least installation/configuration possible, as my tech lappy is also my main computer. What I want to do is this:
Code:
(ISP) -> (wlan0 - [MyLappy] - eth0) -> (Client computer)
Basically, thats a mess, so i'll explain it further:
wlan0 grabs the netz, and a computer connected to eth0 via switch/router/crossover cable can access those netz.
1. No configuration on the client would be prime choice rib for me.
2. Client should be any OS/Arch.
Any grand ideas out there? Currently using FC10, with various extra repos enabled.
Oh, and N00by alert, I'm learning quick, and am not shy to try new/complicated things, just bear with me!
View 4 Replies
View Related
Jul 16, 2009
i ahve just installed fedora 11 kde edition and i used to use fedora 10 after finish installation i edit the connectons to connect to my network im in lan network but i connect my cable to an access point to free using my laptop anywhere after adding every thing (wep key ,static ip's,) as i used to do and i have the connected sign at the system tray.i open the browser but no internet connection pinging the gateway returns "Destination Host Unreachable".
View 1 Replies
View Related
Dec 11, 2009
I am looking for help on how to create a wireless access point using fedora core 12.I have done some searching and have not found anything.
View 1 Replies
View Related
Feb 18, 2010
Install Fedora 12 on my laptop and having problem connecting to access point using WEP . I complied with wireless setup with key but will not connect. Works with security disable, the router is a Westell 327W from what was Bellsouth.
View 1 Replies
View Related
Aug 23, 2011
I have a laptop with Fedora installed and an iPad.The only connection to internet in my house is wireless router. It has strong signal to catch it with laptop in every corner in my house, but not strong enough for an iPad..Since my iPad is mostly near my laptop, I'd like make my laptop to be turned to wireless repeater or that serves as access point so I can connect to network with an iPad.How can I do that from my Fedora machine?
View 1 Replies
View Related
Jan 13, 2010
I have a Sonicwall access point, which I am able to set up through the interface, but after that I am unable to achieve a connection through my wireless card. I have a good understanding of everything involved, but really have no hands on experience when it comes to networking.
Code:
lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
[code]....
Also, I should have mentioned that @ the interface for the Sonicwall it said that "no DNS server had been specified", but I set it up for DHCP, and I thought my ISP is using PPPoE (which I also thought used DHCP).
View 1 Replies
View Related
Mar 25, 2010
i've finish install driver for my wireless adapter and the result like this:
Code:
rapc0d@rapc0d-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[Code].....
View 1 Replies
View Related
Apr 15, 2010
I just installed the wicd network manager and when i was setting it up it said it couldn't find the ip address so when i input the address its saying it can't connect to a wireless access point. I am using wireless that has worked with the default network manager but will not work with this one.
View 1 Replies
View Related
Jul 21, 2010
There's an exclamation point next to my wireless icon up at the top which concerns me. I've just installed Ubuntu 10.04 yesterday - absolutely love it. The only problem is that I'm having trouble with staying connected to my wireless network... When it is connected, there is an exclamation point next to the wireless icon.
I have Broadband internet, Belkin N Wireless router, and an Acer Aspire 5741 with the wireless device built into the laptop. This normally runs fine with Windows 7, but it doesn't automatically connect with Ubuntu 10.04...
View 9 Replies
View Related
Nov 7, 2010
I'm trying to set up a wireless access point and router using Ubuntu 10.10. My machine has an Atheros AR5001X+ PCI card, and eth0 is connected to an ADSL modem.After literally days and days of going in circles, I'm hoping that somebody here can help get me on track.This sort of works, though I had to go through some other contortions to get the madwifi driver to finally compile on my machine.At this point, I can see and connect to the WAP, but nothing more. When I try "sudo /etc/init.d/networking restart",
I also have a second problem, which is that I want to use WebMin to manage this server, but I cannot figure out how to get the ADSL client module configured -- RP-PPPoE version 3. It seems to expect to work with pppoe-start, pppoe-stop, and pppoe-status, but when I try to run pppoe-status it says "Link is down", even though my ppp connection is actually working.Is is possible to use the WebMin ADSL client module with Ubuntu? I spent a lot of time trying to get pppoe-start, stop, etc. working but it was a complete mess and never seemed to behave. Finally, I just put the ppp startup commands into the /etc/network/interfaces file and that worked, but now the pppoe-* commands no longer seem to function.
View 2 Replies
View Related
Nov 30, 2010
I installed it alongside Win XP, using Wubi, and it seems I use Ubuntu 10.04.Everything worked out as expected, and my wired internet connection works like a dream.However:My wireless connection seem a little buggy.I can see all networks (except WPA2) so even if I want to fix the WPA2 problem, I'd rather just open my network for now.
So my network is now open, I see it in the NetworkManager list, and as i try to connect, the following happens:The wireless symbol start flashing. From here it keeps flashing, untill it gives up.I use RT2870 drivers, and D-Link DWA-140 USB wireless adapter.
It goes without saying I am a freshman regarding Linux, so if anyone knows what to do, and cares to take the time to tell me, please do tell me in a detailed manner.I do know the basics of the Terminal, and yes, I do know how to copy/paste commands I find linux way more satisfying than Windows so far ... And thanks in advance for giving away your time More info can be given upon request (You might have to explain how to find that specific info)
View 1 Replies
View Related
Feb 12, 2011
I'm going to be working in an office with no wifi and no 3g signal but my laptop will be connected to the web via a wired network.Any way I can use the wifi card in my ubuntu laptop to create a wireless access point so my phone can connect? Would have to be easily selected and deselected as I'd then want to use wifi to connect to the internet at home.
View 1 Replies
View Related
May 15, 2011
I have an Intel PRO 2200BG wireless card and can connect to my router when logging in via gdm (using Xubuntu.) No problems there, connection never drops, very reliable!
But I've since had the need to shutdown X and keep a simple terminal instance open but as soon as I stop gdm the connection to the router drops. Trying to connect via the terminal using wpa_supplicant has so far been unsuccessful.
I know for a fact I'm doing something wrong, just don't know what and would appreciate some help!
Some dumps:
Code:
Code:
Code:
Code:
View 1 Replies
View Related
Aug 8, 2010
I started using Arch just a few days ago. forward traffic to the Wireless access point I created on arch. i am using cable internet (ppp0) which I want to share via a usb wifi adapter running as a WAP. I followed the instructions in this link to enable the AP mode. Afterwards I followed the instructions provided in the Arch Wiki to forward the traffic but because of my inexperience I am still unable to connect to the internet. Here is the output of iptables -nvL :
Code:
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
77 31312 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
[code]....
View 2 Replies
View Related
Jun 23, 2009
I'm trying to make my F10 Laptop a wireless Access point.
When I 'iwconfig wlan1 mode Master' I get:
SET failed on wlan1; Invalide argument.
wlan1 is a Netgear WG111v2 which worked as soon as I plugged it in after I installed F10.
I don't know is it not supported? What is? Is there a different driver I can put on that will work in master mode.
What should I do basically?
View 1 Replies
View Related