LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2016, 03:50 AM   #1
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 146Reputation: 146
Question IPv6


I'm using a Slackware virtual private server and have an IPv6 block for it. How do you set that up for Slackware? I.e., I'd like to use the addresses for different domains. I know I'd have to make AAAA records, but apparently for anything more than one IPv6 address, I have to configure the rest, maybe in /etc/rc.d/rc.inet1.conf and /etc.rc.inet1. All I've found on the Internet about this is an old post here for Slackware 13.1, that doesn't have the example rc.inet1 anymore.
 
Old 01-23-2016, 07:23 AM   #2
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Rep: Reputation: 3
I gave up blocking ip6. Now I run ip6tables and block everything. It's the same as iptables.try it. I didn't think you could block through a config file.effectively.
 
Old 01-23-2016, 10:22 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by dchmelik View Post
I'm using a Slackware virtual private server and have an IPv6 block for it. How do you set that up for Slackware? I.e., I'd like to use the addresses for different domains. I know I'd have to make AAAA records, but apparently for anything more than one IPv6 address, I have to configure the rest, maybe in /etc/rc.d/rc.inet1.conf and /etc.rc.inet1. All I've found on the Internet about this is an old post here for Slackware 13.1, that doesn't have the example rc.inet1 anymore.
14.1 or current?
 
Old 01-23-2016, 07:45 PM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
14.1
 
Old 01-24-2016, 09:14 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
I assume that you've looked at http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/ already.

You're going to have to do the configuration in /etc/rc.d/rc.local, since the commands run in /etc/rc.d/rc.inet1 assume IPV4.
 
1 members found this post helpful.
Old 01-24-2016, 06:05 PM   #6
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Rep: Reputation: 60
I personally run it from rc.firewall, since that'll be run if you have it (and it's chmodded +x) right after your ipv4 network comes up
 
1 members found this post helpful.
Old 01-27-2016, 06:48 AM   #7
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
That TLDP document hadn't come up in my searches, but I've been looking now.

I don't have a firewall and don't plan to add one.

I'd like to see a way to do this as described in http://www.linuxquestions.org/questi...13-1-a-842553/ .
 
Old 01-27-2016, 09:06 AM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well, that requires a re-write of /etc/rc.d/rc.inet1 to do so. Maybe Skaperen is still active and has a copy squirreled away of what he did.
 
Old 01-27-2016, 03:28 PM   #9
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Rep: Reputation: 60
Quote:
Originally Posted by dchmelik View Post
I don't have a firewall and don't plan to add one.
You misunderstand me. The rc.firewall script is just a script that (if executable) will be run after rc.inet1 gets your network up and running. You do not need to actually do firewall-y stuff in there. But if you need to run some commands to also get ipv6 the way you like it, it seems like the ideal place.
 
1 members found this post helpful.
Old 01-27-2016, 10:21 PM   #10
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by suppy View Post
You misunderstand me. The rc.firewall script is just a script that (if executable) will be run after rc.inet1 gets your network up and running. You do not need to actually do firewall-y stuff in there. But if you need to run some commands to also get ipv6 the way you like it, it seems like the ideal place.
I don't have rc.firewall and don't plan to add it.
 
Old 07-11-2016, 09:16 PM   #11
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
Of course, I understood suppy... still don't plan to call it rc.firewall.

Has the situation changed for 14.2?
 
Old 07-11-2016, 09:25 PM   #12
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by dchmelik View Post
Has the situation changed for 14.2?
After a really, really, really quick glance at the contents of /etc/rc.d/rc.inet1, I think the answer is "no".
 
Old 07-11-2016, 09:38 PM   #13
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by Gary Baker View Post
I gave up blocking ip6. Now I run ip6tables and block everything. It's the same as iptables.try it. I didn't think you could block through a config file.effectively.
‘IPv6 block’ means group of IPv6 addresses.
 
Old 07-14-2016, 06:31 PM   #14
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I've PM'd Skaperen inviting him to participate in this thread. I hope he does, because this is of keen interest to me as well.

The broken link in that other LQ thread might refer to these, which I pulled from https://groups.google.com/forum/#!to...re/1YWBSaPOzks --

http://ciar.org/ttk/public/rc.ipv6.txt

http://ciar.org/ttk/public/rc.ipv6.inet1-edit.txt

The first file would go in /etc/rc.d/rc.ipv6 while the second file's contents would be added to /etc/rc.d/rc.inet1 somewhere.
 
Old 07-14-2016, 06:38 PM   #15
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by ttk View Post
I've PM'd Skaperen inviting him to participate in this thread. I hope he does, because this is of keen interest to me as well.

The broken link in that other LQ thread might refer to these, which I pulled from https://groups.google.com/forum/#!to...re/1YWBSaPOzks --
I doubt it. That thread was talking about editing rc.inet1, which with modification, can already use IPv6. Those Usenet alt.os.linux.slackware thread replies were talking about writing an entire new script that seems must duplicate some of rc.inet1's functionality... seems like overdoing it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] have access to ipv6.google.com but not other ipv6 address superweijiafeng Linux - Networking 6 12-08-2014 02:28 PM
need to have a review on a script for radvd ipv6 , user can get ipv6 dns ??!! dr.x Linux - Networking 1 09-01-2014 04:45 AM
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM
BIND9 as forwarder, IPv6 queries from IPv6 forwarders Nonoo Linux - Server 1 11-23-2009 01:57 PM
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration