Ubuntu :: X Forwarding Not Working When Ipv6 Disabled
Dec 20, 2010
Got Ubuntu Server 10.10 installed as a virtual machine (vmware). When i forward X through SSH (putty) i can start xeyes, xcalc,etc.
Now when i disable ipv6 putty can't set the display variable and i get "Error: can't open display". I haven't changed anything in putty or win 7 (the host system).
I disable ipv6 by putting these lines in /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
View 5 Replies
ADVERTISEMENT
Mar 26, 2011
I would like to enable ipv6 forwarding . i have ipv6 module loaded.I added net.ipv6.conf.all.forwarding=1 in /etc/sysctl.conf .i tried reboot , did 'service network restart' .
.
Also I tried
sysctl -w net.ipv6.conf.all.forwarding=1
and
[code]....
View 1 Replies
View Related
Feb 19, 2010
A command like (single quotes used in the command):
Code:
ssh -L '[::1]:3128:127.0.0.1:3128' ...
is getting an error message like:
channel_setup_fwd_listener: getaddrinfo(::1): Address family for hostname not supported
This is supposed to be an IP address, not a hostname, for the localhost in IPv6. Anyone know what is wrong with this? Addresses like this work OK in rsync. I know I can use ip6-localhost as a hostname. But right now I'm testing actual IP addresses in IPv6 to see what programs can or cannot handle it.
View 2 Replies
View Related
Jun 2, 2010
Okay I have searched how do I enable ipv6 forwarding?
There is no ip_forward in /proc/sys/net/ipv6/
View 1 Replies
View Related
Jun 26, 2010
There seems to be much disagreement between distros regarding how ipv6 is disabled, even between different versions of the same distro. Rather than just follow instructions for disabling ipv6 for a given distro, I would like to also test that ipv6 is not used any more. Any software or executable that relies on ipv6, that I can use to confirm that ipv6 has been successfully disabled?
View 9 Replies
View Related
Feb 5, 2011
I've installed live usb-hdd using live-helper on my Lenny.
How to check if on this usb live IPv6 is enabled or disabled?
View 2 Replies
View Related
Jun 8, 2010
I'm trying to setup a network with a bridge on Debian Lenny (too bad most bridging information is for 2.4 kernel, maybe I'll write some if I get this to work). I've seen somewhat similar problems involving bridging for VMs and a couple involving Fedora, but people say that it was either a driver problem or it was fixed magically.I'm using a few Intel Pro 100s, which I'm pretty certain have had driver support in the kernel for years now. Magic doesn't happen.Here's /etc/network/interfacesQuote:
auto loiface lo inet loopbackauto br0
iface br0 inet staticbridge_ports eth0 eth1bridge_maxwait 0address 70.168.186.252netmask 255.255.255.254gateway 70.168.186.1
[code]....
View 1 Replies
View Related
Apr 19, 2011
I just purchased a router that supports IPv6 and configured my eth0 to use IPv6. I have tried automatic and automatic, address only with no results. My Windows 7 and OS X 10.6 boxes both work w/o issue of need to change settings. I have done a bit of Google searching, but not found much in the way of useful advice. Can someone point me to a good article or let me know that the product is broken at this point.
View 2 Replies
View Related
Jul 22, 2009
I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?
View 2 Replies
View Related
Aug 31, 2011
I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.
The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.
If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.
View 1 Replies
View Related
Jan 6, 2010
Pre-exsisting issue from 9.04 server, and has never worked right for me. When I try to open an X11 forwarded app on a mac using the command "ssh -X myusername@serverIP" Other linux machines have similar issues from terminal. I can login just fine and preform any actions I want that do not require X11 forwarding, like say firefox or a manager. I just get the error "Error: no display specified" when trying to do anything with X11 forwarding. I have almost no Linux experience but from tinkering and my friends tinkering wonder if I have a x authority issue.
At one point I had ubuntu desktop package installed (forwarding still did not work then), did a unclean uninstall of it installed Xubuntu. Xubuntu did nothing but throw fits saying I did not have authority to preform all sorts of actions, many relating to root access. This box is meant to be a headless file, print and web server with the ability to login remotely as a convince for administration. I have given up on having a working GUI of any kind on this box. I really do not want to reinstall because of the amount of data on the main partition. What can I start trying to look into?
View 1 Replies
View Related
Jul 17, 2009
I am using ubuntu 8.40 as a router wit 2 nic.eth0 is for local and eth1 is for external network.i have a internal webserver in my lan and want to forward some ports to the net and i executed te following commands.
iptables -t nat -A PREROUTING -p tcp -i eth1 -d 192.168.0.239 --dport 8080 -j DNAT --to 192.168.10.99:8080
iptables -A FORWARD -p tcp -i eth1 -d 192.168.10.99 --dport 8080 -j ACCEPT
But i cant connect to the port 8080 from the external network.
View 11 Replies
View Related
Aug 10, 2010
I have an issue on a few servers where IPv6 stops working after a reboot. I can ping anything within the same subnet but anything outside of that it gives me host unreachable. I believe that it is not routing for some reason, but I am not sure why. I have tried adding a default Ipv6 route for Eth3 but nothing seems to work.
uname -a
Linux server-1 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64 x86_64 x86_64 GNU/Linux
Code:
route -A inet6
Kernel IPv6 routing table .....
View 9 Replies
View Related
May 7, 2011
I am trying to redirect my display from a debian box that I ssh into to my laptop. I connect using
Code:
$ssh -vv -XC remote.host
and in the debug messages all I get about X is this
Code:
debug1: Requesting X11 forwarding with authentication spoofing.
Once I'm connected, X forwarding does not work. For example, when I try and start, say, xcalc, I get
Code:
$xcalc &
Error: Can't open display:
It seems that the problem is the $DISPLAY variable is not set on the remote machine (echo $DISPLAY doesn't return anything), but from what I read, sshd is responsible for setting this variable, as long as "X11Forwarding yes" is uncommented in the /etc/ssh/sshd_config file (which I made sure is true). Is there any other reason why sshd won't open a display on the remote host?
View 5 Replies
View Related
Apr 1, 2009
I'm trying to set up my CentOS 5 box as a gateway for my home network.I've set up dhcp on my internet interface (eth0) and dhcpd on my LAN interface (eth1).I can browse the internet from my CentOS 5 box.I can ping the CentOS 5 box from my LAN.However, I can't browse the internet from my LAN.I've enabled IP forwarding in /etc/sysctl.conf and I've disabled my firewall. I've saved these changes and rebooted. Again, no internet browsing from my LAN.
View 2 Replies
View Related
Apr 23, 2009
I am running Fedora Core 10 and KDE 4.2.1. My KTorrent is having trouble finding online peers lately. I suspect this is a port forwarding issue. I have set up my router to forward port 4444 (UDP) and port 56000 and more (TCP) to my machine's IP address. I have also set my local firewall (system-config-firewall) to allow these ports through.But when I try to test ports 4444 and 56000 via this Open Port Check Tool, it tells me they are closed
View 6 Replies
View Related
May 19, 2011
I am running opensuse11.4. When trying to forward emails I can only do so as attachment. When I click and hold to select the forward inline option I get an empty email - same as if I would have clicked new. The same happens when I place the inline button on to the toolbar. Is this a bug with Kmail or is there another setting to forward mail inline?
View 1 Replies
View Related
Jan 18, 2010
I am setting up a new server with 2 nics installed. Nic0 goes to the firewall and nic1 goes to the internal engineering network.
Problem is Ip forwarding is not working!
Particulars:
Server Name - slick
Firewall Name - gateone
engineering node - crooked
Routing on slick:
From crooked ( which is inside the server (slick) with an ip address of xx.xx.221.249 the only way I can ping or anything outside of the firewall ( gateone) is to turn on IPtables with this configuration:
I don't want to use IPtables. I need the ip forwarding to work.
View 6 Replies
View Related
Jan 28, 2011
I've used iptables since it replace ipchains, and I've never had a problem like this.The problem is, as you can see by the title, that port forwarding simply does not work.
network topology:
Slackware Linux Server:
eth0 - LAN (192.168.0.0/25)
eth1 - DSL Static IP
eth2 - cable Static IP
eth1 is our standard office connection; it handles all of our default traffic (web browsing for the staff, email, etc). eth2 is our VPN connection, as well as use for all incoming connections (www, etc). Behind the linux box I have a series of Windows Server 2008 R2 boxes that are used to run our office software, website, etc - I don't care how nice they make their products these days, I simply don't trust any MS box open to the net.
Therefore, this leaves me with having to port forward port 80 from eth2 to the internal IP address of the web server.
My ruleset is as follows:
$WWW - ip address of the web server
iptables -A FORWARD -d $WWW -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80 -j DNAT --to $WWW
Running ip route shows that I have routing entries for all 3 networks, and I can ping, ssh, etc to any of the addresses without issue. OpenVPN connects across eth2 as well, and all 15 of my VPN tunnels work fine. However - and here's the kicker - if I delete the default route and replace it with the route for eth2, port forwarding works fine.
If we accept that my networks are as follows:
192.168.0.0/25 - eth0 net, gw .1
1.1.1.0/29 - eth1 net, gw .1, eth1 ip .2
2.2.2.0/30 - eth2 net, gw .1, eth2 ip .2
then ip route reveals the following:
2.2.2.0 via 2.2.2.1 dev eth2
2.2.2.0 dev eth2 scope link src 2.2.2.2
1.1.1.0 dev eth1 scope link src 1.1.1.2
[code]....
View 7 Replies
View Related
Mar 26, 2010
I have the following setup and Im trying to forward all incoming connection on port 1194 on eth2 which is the external network to ip 192.168.10.100, but seems its not working.
Current config:
# Generated by iptables-save v1.3.8 on Sun Nov 16 00:00:54 2008
*nat
:PREROUTING ACCEPT [26751696:2175544875]
:POSTROUTING ACCEPT [339911:19096812]
[code]....
plus im adding the prerouting:
iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 1194 -j DNAT --to-destination 192.168.10.100
This configuration doesnt work. I also I have tried:
iptables -D PREROUTING -t nat -p tcp -d XX.XX.XX.XX --dport 1194 -m state --state NEW,ESTABLISHED,RELATED -j DNAT --to 192.168.10.100:1194
and the same its not working. Connecting thru telnet to the domain: telnet mydomain.org 1194 doesnt work, but within the server, running telnet 192.168.10.100 1194 it works.
View 8 Replies
View Related
Sep 12, 2009
For the background, I'll be using my router as a firewall with snort-inline enabled. I got 3 NIC's: one for the WAN, the second will be bridged to the WAN NIC for queuing traffic which snort-inline requires, and the third is the LAN NIC (the computer I use for everyday work). Here's how I have my interfaces set up:
Code:
# /etc/network/interfaces
# Loopback interface
auto lo
iface lo inet loopback
[code]....
From what I understand, queuing needs to be set up on the bridge. From the documentation I've read it's done like this:
Code:
iptables -A INPUT -j QUEUE
And then to forward traffic, I did:
Code:
iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE
I've done this and am able to ping the router, obtain a DNS address from dnsmasq from the LAN computer. From the router I am able to connect to the internet (ping, links <address>...). From the LAN computer trafficking isn't getting forwarded, Firefox, links, ping all don't resolve.
View 7 Replies
View Related
Feb 18, 2010
I was trying to setup port forwarding on my setup. My network consists of:
Code:
[Server: xxx.xxx.xxx.15]
|
|
[ switch ]
[code]....
I ran the following 2 commands:
# iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.15:80
# iptables -A INPUT -i eth1 -p tcp -m tcp --dport 80 -j ACCEPT
Yet I am unable to connect. Are these the correct commands? I am using IP Masquedering on the same box using the following commands:
Code:
$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
[code]....
I don't think there is a hidden firewall in the switch but if these commands are correct, then I may need to contact my ISP and see if they are blocking the commands. I just wanted to make sure I was not doing some stupid mistake before I try to contact my ISP.
EDIT: Also, is it possible to forward Port 80 requests to different servers depending on the hostname used to connect, so say [URL] redirects to server xxx.xxx.xxx.15 while hhh.com redirects to xxx.xxx.xxx.16?
View 3 Replies
View Related
Dec 30, 2010
I have just recently switched my setup to have my server be in the middle of traffic and act as my new router while making my other routers just switches. However, after doing this I can no longer access my UPnP devices. They used to show up in my router but I am assuming either there is an issue with my iptables rules or that some how having my server run the dhcp and dns routing is messing with UPnP.
View 2 Replies
View Related
Jan 6, 2011
I'm running Ubuntu 11.04 latest updates on a HP G50 laptop. It was working fine but would never auto connect to wireless. I would have to select the wireless from the top menu and connect to a network. However I disabled it once and tried to re-enable but ran into a problem. The Enable Wireless was grey and would not allow me to enable.
Have searched google and tried lots of solutions and none worked. I even reinstalled and still have the problem.
View 6 Replies
View Related
May 17, 2011
I have two SUSE(2.6) virtual machines running in the same subnet with two network cards each as shown below.
VM1------------------------------------------------------------------------------
appstage1:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:22:5A:24
inet addr:192.168.128.12 Bcast:192.168.128.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe22:5a24/64 Scope:Link
[Code]....
Ultimately my DB will run in VM2 and any DB requests coming in at 2055 of VM1 should be forwarded to port 2055 of VM2. Since I do not yet have a DB running I am trying to test with netcat.
View 5 Replies
View Related
May 7, 2011
I've had Debian on my laptop for around 4 months which I rarely use. I'm using Squeeze since it seems to be the only release that will work with my ethernet card.The internet had been working fine for a couple of months but broke when I tried to allow port forwarding for torrents. I could only connect to the internet after this by using:
iptables -F
iptables -X
iptables -t nat -F
[code]....
View 2 Replies
View Related
Aug 5, 2010
Earlier I was in windows to do school that I had to do in windows. I shut my monitor to suspend my computer, which disables my sound card. Later on I went back into ubuntu and forgot about it. Ubuntu had updates to the system and since then I have not been able to get my sound to work.
View 2 Replies
View Related
Oct 2, 2010
I applied the latest updates today and when I rebooted, My wireless broadcom driver is not working and the ifconfig does not list it either anymore, was working 8 min ago but is now dead. If I turn off the wireless with a switch and back on, I get a blue light but it remains disabled and greyed out on the network icon. Ubuntu 10.04, latest updates applied daily. I removed the driver and reinstalled it, it did not help at all. Also, my Truecryt gdecrypt stopped working.
Update: it seems the wireless switch on the front of the laptop is now working backwards, in checking the daemon log I found Turning off the wifi so the light goes out:
Oct 2 20:09:18 chuck-laptop NetworkManager: <info> WiFi now enabled by radio killswitch
Oct 2 20:09:18 chuck-laptop NetworkManager: <info> (eth1): bringing up device.
Oct 2 20:09:18 chuck-laptop NetworkManager: <info> (eth1): supplicant interface state: starting -> ready
[code]...
Update, I found that if I boot the laptop up with the networking switch off, then, after I'm booted up, turn it on, it works. However if I reboot the laptop with the network switch in the on position I get the above issue with the switch being inverted and not working properly.
View 2 Replies
View Related
Dec 12, 2009
I have just set up shorewall on my router running Arch Linux. The external network is on eth0 and the internal network on eth1.I have set it up for masquerading and that works fine and I can open ports to the firewall. But I'm having trouble with port forwarding to my internal machines.The problem I have is that when port 22350 is forwarded to 192.168.1.3 on my local network, checking the port with nmap from a remote computer gives me:
Code:
PORT STATE SERVICE
22350/tcp closed unknown
[code]....
View 2 Replies
View Related
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