forked from QubesOS/qubes-core-agent-linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: preliminary support for IPv6, disabled by default (#718)
Currently qubes-firewall will try to load the same rules for both IPv4 and IPv6, so only those with names resolvable to both address families will work. The feature is disabled by default (besides some generic ip6tables rules, which are always loaded). It can be enabled using qubes-ipv6 qvm-service. To actually use IPv6 in an AppVM, the user needs to enable qubes-ipv6 service on the whole network chain from NetVM up to (inclusive) the AppVM.
- Loading branch information
Showing
4 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
# Generated by ip6tables-save v1.4.14 on Tue Sep 25 16:00:20 2012 | ||
# Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010 | ||
*nat | ||
:PREROUTING ACCEPT [0:0] | ||
:OUTPUT ACCEPT [0:0] | ||
:POSTROUTING ACCEPT [0:0] | ||
:PR-QBS - [0:0] | ||
:PR-QBS-SERVICES - [0:0] | ||
-A PREROUTING -j PR-QBS | ||
-A PREROUTING -j PR-QBS-SERVICES | ||
-A POSTROUTING -o vif+ -j ACCEPT | ||
-A POSTROUTING -o lo -j ACCEPT | ||
-A POSTROUTING -j MASQUERADE | ||
COMMIT | ||
# Completed on Mon Sep 6 08:57:46 2010 | ||
# Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010 | ||
*filter | ||
:INPUT DROP [1:72] | ||
:FORWARD DROP [0:0] | ||
:INPUT ACCEPT [0:0] | ||
:FORWARD ACCEPT [0:0] | ||
:OUTPUT ACCEPT [0:0] | ||
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT | ||
-A INPUT -p ipv6-icmp -j ACCEPT | ||
-A INPUT -i lo -j ACCEPT | ||
-A INPUT -j REJECT --reject-with icmp-host-prohibited | ||
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT | ||
-A FORWARD -i vif+ -o vif+ -j DROP | ||
-A FORWARD -i vif+ -j ACCEPT | ||
-A FORWARD -j DROP | ||
COMMIT | ||
# Completed on Tue Sep 25 16:00:20 2012 | ||
# Completed on Mon Sep 6 08:57:46 2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters