Networking :: SSH Key Login Won't Go Through Router
Mar 13, 2011
I can log in using a key I have put in my authorized_keys file when logging in from my LAN.
I can log in using password when I am logging in from WAN.
I cannot log in using the same key when logging in from WAN.
I am going through a DD-WRT router with UPnP disabled and the appropriate port forwarded to the server IP address.
Do I have a config file issue?
View 3 Replies
ADVERTISEMENT
May 20, 2011
In addition to 2 "desktop" machines, I recently set up an Ubuntu Server with Apache2, but when I try to access my www.homepage from a machine locally connected to the same router (via both wired & wireless interfaces), I am directed to the Login page of the router, not to the www.homepage. Yet, when I access the www.homepage from elsewhere, my www.homepage is accessible.
I can browse to my www.homepage by entering the local IP address into browsers on both local machines, so I know the machines are talking to each other. Just not letting me get in via normal internet browsing channels.
Server: Ubuntu 11.04
Webserver: Apache2
Router: D-Link DIR-615
IP Address of: 192.168.0.110 (reserved on router, static on server)
[Code]....
View 7 Replies
View Related
Apr 13, 2010
Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.
View 9 Replies
View Related
Jun 18, 2011
I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.
As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?
My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?
View 1 Replies
View Related
Nov 6, 2009
I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).
I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.
I have added this to /etc/sysctl.conf on the laptop:
net.ipv4.ip_forward=1
Then I tried this on the laptop:
sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT
This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.
But this doesn't work. The connection doesn't even establish between the laptop and the desktop.
View 12 Replies
View Related
Apr 24, 2010
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
View 2 Replies
View Related
Mar 26, 2009
These r IP provided by my ISP that i've put on Fedora 8:
WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18
Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240
i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.
View 6 Replies
View Related
Oct 30, 2010
I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.
Here's what I did:
The newgateway is setup for class C, 192.168.0.0
This configuration works, but sometimes it doesn't and I haven't figured out why yet.
At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.
Other times, it seems nothing can talk with anyone, and I am not sure why.
I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.
View 2 Replies
View Related
May 29, 2011
How can I solve this problem??? my router is Siemens Gigaset SE5678
View 4 Replies
View Related
Nov 19, 2010
I want to write a function in expect/tcl which logins into a router. but the syntax is a little confusing .
case 1: router prompts for "username".. {we put in username and password .. if they are incorrect we try with another username and password. if we succeed into getting a prompt we return 1 .. if both username passwords are wrong or we time out we return 0 }
case 2: router prompts for "login" .. {we put in username and password .. if they are incorrect we try with another username and password. if we succeed into getting a prompt we return 1 .. if both username passwords are wrong or we time out we return 0 }
case 3: router prompts for "password" only .. { we login just using the password and get to the enable prompt}
View 3 Replies
View Related
May 25, 2011
I have just setup a debian box, and I want to be able to login to the machine remotely.Currently I have the following setup:Cable Modem -> Netgear Router (DHCP to outside world) -> Debian Box (DHCP for internal network)As I under stand it I have to set my Debian Box to use a static IP, but from there I di not know where to go.Also since my cable modem IP is dynamic, is there some way to have that the debian box get the IP address for the outside world, and e-mail it to my gmail account when it changes, or least every X hours?
View 1 Replies
View Related
Aug 1, 2010
My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.
View 2 Replies
View Related
Nov 27, 2009
I want to configure linux CentOS 5 as a router using iptable, .Im new in linux so I need the steps to do that
View 5 Replies
View Related
Jun 9, 2010
I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.
I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.
So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?
Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.
We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.
View 1 Replies
View Related
Aug 14, 2010
I am thinking of moving the router behind a server and connecting the server directly to the internet via a modem. Are there any security issues related to doing this? or other things I should be aware of. Iptables are implemented on the server blocking access on unused ports.
View 2 Replies
View Related
Feb 16, 2009
This is my basic setup:
[URL]
I don't know how to get the wireless router to connect to the other wireless router so I can use internet on my computer. How do I achieve this wireless connection?
View 1 Replies
View Related
Mar 26, 2010
How do I make a router by Linux?In other words you want your Linux to work as a router.
View 10 Replies
View Related
Oct 28, 2009
I've very new to linux, so please excuse my ignorance. I am trying to setup a number of servers to authenticate against my Windows Server 2003 active directory. I have successfully done this with one computer (Dell Optiplex 755), but I can?t seem to get it to work with my servers (Dell PowerEdge R710). I am using Fedora 11. I have setup samba and pam and have successfully joined the network. Everything with winbind seems to be working properly and I can get all the user info, etc. When I log in with a local account, everything is fine. If I try to log in with an account from my domain through SSH, I see the message Code:/usr/bin/xauth: creating new authority file /home/apkelley/.XauthorityAfter that, nothing happens and it is as if I haven?t connected to anything. If I try to log into the actual server using the graphical interface, it starts logging me in, shows a blank screen for about a second, and then returns to the login screen as if nothing has happened.I would greatly appreciate any suggestions for how I might fix this problem or how to find out more information about the error.Here are my smb.conf and system-auth files:
/etc/samba/smb.conf
Code:
[global]
[code]....
View 2 Replies
View Related
Apr 15, 2010
I replaced my wired router and networking has gone south on one of my boxes. It's a Dell tower, a few years old, triple boot (ubuntu 8.10, FreeBSD, WindowsXP). Old router used 192.168.254.* via DHCP, new one is 192.168.2.* via DHCP. The router replacement caused no problems for either FreeBSD or WinXP on this box, nor for any of the other boxes on the network (one of which is ubuntu 9.10).
Ubuntu 8.10 simply will not connect to the new router. I'm presuming that something somewhere down deep has been compromised and I just don't know where to start looking or what buttons to push to reconfigure correctly. Router status displays show an IP address of 192.168.2.35 for this box, booted under all three operating systems. Using network-manager to force that static address instead of relying on DHCP does not seem to help.
View 5 Replies
View Related
Jan 6, 2011
My Desktop is wired through eth0 to my wireless router. The router is connected to the internet. the ipaddress leased to my desktop was done with dhcpcd. My laptop is connnected to the wireless router through the wifi card known as device eth1 and i used dhcpcd for that also. How can I network my laptop via wifi through the router to the Desktop?
View 7 Replies
View Related
Jan 26, 2009
I am having a problem logging into my remote gentoo (2.6.23) linux machine using my hostname from my Windows XP machine using cygwin. I can login using my ip address, but not the hostname.
This works:
$ ssh me@xxx.xxx.xx.xxx
This does NOT work:
$ ssh me@my_hostname
ssh: connect to host my_hostname port 22: Connection refused
I have verified that my hostname is indeed "my_hostname" on my linux machine by using the "hostname" command.
View 7 Replies
View Related
Aug 7, 2010
I'm using a cross-over ethernet cable to connect a Desktop Windows 7 box, and a laptop running on SUSE 11.2. I want Windows to connect to the internet via the laptop's wireless interface.
View 1 Replies
View Related
Apr 5, 2010
I have been playing around with the Apache web server setup detailed herehttp://forums.fedoraforum.org/showthread.php?t=178660 Everything works fine locally, I'm stuck on step 5. www.whatismyip.com says my IP is 208.94.XX.XX. When I try to find my server at 208.94.XX.XX, I see a mikrotik routerOS page which looks like is part of my ISP's hardware. According to my router, the IP of it is 172.16.XX.XX.So I'm guessing my router isn't exposed to the WAN. Is there a way to connect to my server remotely? I have asked my ISP the same question via email, but they are taking their time getting back to me so I thought I could bounce this off of the Fedora Forum.
View 6 Replies
View Related
Mar 5, 2010
I have a WRT54G router, and I would like to log on to it, but for some reason, I can't. I can ping the router, and and when I try ssh into it, ssh returns with
Code:
ssh: connect to host 192.168.1.125 port 22: Connection refused
which seems to imply that 192.168.1.125 is a valid address, for 192.168.1.1 returns
Code:
ssh: connect to host 192.168.1.1 port 22: no route to host
But I just can't log on to the router, neither via ssh, not via web.
View 6 Replies
View Related
Feb 17, 2011
i use slackware 13.1 i have apache, mysq, php - working i have a router netgear WPN824v2 - latest firmware port forwarding to my comp 192.168.1.105 port 22 i can access my ssh from my internel lan, but i cannot access it from the outside... i used [URL] to test the port and it says that is closed. i used PFportCheck Program on my other windows computer and it says that "port 22 is opened on another device!" - which is good because it's opened on this computer. also tried to changed the port on sshd_config to 6655 and 22 but it's still cannot connect...
View 1 Replies
View Related
May 27, 2010
I am considering moving to a software (ebox/pfSense/Zeroshell etc) based router.
It fits well to have 1 NIC connecting to your modem & the other to your switch & network. It seems to make sense it is more secure, but is it?
If I assign the 1 NIC in my router 2 IPs, a subnet for the modem and a subnet for the LAN, how is the different?
I can't think exactly what it is. I am no network guru and probably missing something down at a lower networking level, but for a home router, does 1 or 2 NICs make any difference?
View 6 Replies
View Related
Nov 1, 2010
1) I have an ADSL router for internet and RHL box sitting on the southside of the southside of the router with local IP configured.
I have to access the Linux box through the internet.
I have tried to port forward the SSH port on the ADSL router, that is not working.
View 6 Replies
View Related
Dec 25, 2010
I want to use a linux computer as a router in a medium sized organization. we have around 10MB internet and we have to distribute it among some 2000 pcs. so i have a computer available, and wanted to do some bandwidth management on it (with tc). want to know if this is possible or if it might create a bottle neck.(the internet is coming from 2 different ISPs). Using a router is not an option, coz our organization is happy with what they get currently BUT since its unmanaged it has lots of problems, and also there is no money for buying a router
View 9 Replies
View Related
Mar 18, 2010
Guys in windows we physically acces the router by accesories -> communication tools. same way how do we access in fedora?? Similarly is it possible to convert a Fedora system to an router?
View 5 Replies
View Related
Feb 5, 2010
My problem is little different then what I've seen here. I get the same message after inputting network name and password. I click connect and it just pops up again I don't get it. I'm running Ubuntu 8.10 for Ppc (PS3) I get no internet connection what so ever just the same message. The message I get is " authentication required by wireless network " What do I need to do to connect wireless to my router with my PS3 using Ubuntu 8.10? It does connect with a Ethernet Wire. I am new with Linux.
View 1 Replies
View Related