Find the answer to your Linux question:
Results 1 to 2 of 2
So I set up a server That i wanted to run OpenSSh on I set everything up and got it running. I could connect loacal but no over the internet ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    58

    Help Disabling ipv6

    So I set up a server That i wanted to run OpenSSh on I set everything up and got it running. I could connect loacal but no over the internet so I posted a round and they told me to disable ipv6. Take a look Can some one help me.


    -Heres the Netstst of my server
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
    tcp 0 0 192.168.1.130:53 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
    tcp6 0 0 :::53 :::* LISTEN
    tcp6 0 0 :::22 :::* LISTEN
    tcp6 0 0 ::1:953 :::* LISTEN
    tcp6 0 52 192.168.1.130:22 192.168.1.129:1289 ESTABLISHED
    udp 0 0 192.168.1.130:137 0.0.0.0:*
    udp 0 0 0.0.0.0:137 0.0.0.0:*
    udp 0 0 192.168.1.130:138 0.0.0.0:*
    udp 0 0 0.0.0.0:138 0.0.0.0:*
    udp 0 0 0.0.0.0:57995 0.0.0.0:*
    udp 0 0 0.0.0.0:10000 0.0.0.0:*
    udp 0 0 192.168.1.130:53 0.0.0.0:*
    udp 0 0 127.0.0.1:53 0.0.0.0:*
    udp6 0 0 :::38058 :::*
    udp6 0 0 :::53 :::*
    Active UNIX domain sockets (servers and established)
    Proto RefCnt Flags Type State I-Node Path
    unix 2 [ ACC ] STREAM LISTENING 11420 /tmp/.winbindd/pipe
    unix 2 [ ] DGRAM 5835 @/com/ubuntu/upstart
    unix 2 [ ] DGRAM 5972 @/org/kernel/udev/udevd
    unix 3 [ ] DGRAM 14230 /dev/log
    unix 2 [ ACC ] STREAM LISTENING 11422 /var/run/samba/winbindd_privileged/pipe
    unix 2 [ ACC ] STREAM LISTENING 11201 /var/run/mysqld/mysqld.sock
    unix 2 [ ] DGRAM 14424
    unix 3 [ ] STREAM CONNECTED 14421
    unix 3 [ ] STREAM CONNECTED 14420
    unix 2 [ ] DGRAM 13763
    unix 2 [ ] DGRAM 11500
    unix 2 [ ] DGRAM 11494
    unix 3 [ ] STREAM CONNECTED 11425
    unix 3 [ ] STREAM CONNECTED 11424
    unix 2 [ ] DGRAM 11199
    unix 2 [ ] DGRAM 11051

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Add the following to /etc/modprobe.d/blacklist

    Code:
    blacklist ipv6
    install ipv6 /bin/true

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...