I have a dedicated server with a big block of IPv6 IPs.
I'd like to be able to use a randomized IPv6 IP within that block and run all outgoing connections through that single selected IP.
I've already accomplished the same thing with IPv4 by using iptables:
iptables -t nat -A POSTROUTING -p tcp -m tcp !
dear All:
I'm working on a feature to store MAC Address of LAN PC on gateway (embedded linux).
I has written a module to store MAC Address in list(kernel space)by directing pcakge in iptables.
I have two questions now:
a. Should I have to add rules in ip6tables?
b. if yes, does the list can be accessed by module in both iptables and ip6tables?
Thanks~~
Hey gang -I'm looking for a little guidance here. I have a couple of VMs set up here and I want to treat one of them as quarantine just using iptables and ip6tables. Yes, I could... [by jasonvp]
I thought to have a simple ipv6 firewall, but it turned out to be hell.
Somehow I really can't connect with any ipv6 from my machine unless I set INPUT Policy to ACCEPT.
i would do it myself but honestly i never have updated a wiki entry before, and i couldn't find any button that would let me do so.this is what i'm referring to.following the install steps#pacman -S iptablesthen# systemctl enable iptables# systemctl start iptableson # systemctl start iptablesi ran into an error, the problem was that i needed to do# iptables-save > /etc/iptables/iptabl
HI,
I disabled IPv6 on my system. I wonder how can I enable it back?
I'd followed this:
Code:
su -c 'echo "install ipv6 /bin/true
blacklist ipv6" > /etc/modprobe.d/blacklist-ipv6.conf'
Code:
su -c 'service ip6tables stop && chkconfig ip6tables off'
Thanks in advance
Cheers
From http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/h... [by bluegroper]
I have also tried to load my iptables and ip6tables rules togather with the wireless but can only connect to the wire(eth0).When i unplug the network cable and the wireless cannot seem to be working.Can somebody shed some light.
Code:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
auto eth0
iface eth0 inet dhcp
Ok, couple of things are wrong here. First of all, when showing your ip(6)tables rules, grab them directly from the kernel, either by using iptables-save [-c], iptables [-v] -S or even iptables [-t table] -nvL [chain].