New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpn and vif+ interface missing iptables rules #2587

Open
brutsers opened this Issue Jan 17, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@brutsers

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-25 (custom upgraded template)


Expected behavior:

To have the same iptables rules after each boot.

Actual behavior:

Missing iptables rules for the vif+ interface and as a result no connection allowed between
the appvm and proxyvm.

Steps to reproduce the behavior:

https://www.qubes-os.org/doc/vpn/
followed the exact guideline.

General notes:

https://www.qubes-os.org/doc/vpn/
followed the exact guideline and added the scripts as explained in the tutorial.
i will add output from the following commands, for both the good and bad boots:
iptables-save -c (file: iptables-good.txt iptables-bad.txt)
iptables -L FORWARD -n -v (file: ipforward-good.txt ipforward-bad.txt)

It is all seems related to the vif+ interface, but I have no clue how to troubleshoot this.
I already put out log of all the scripts, they execute exact the same on both startup.
iptables-good.txt
iptables-bad.txt
ipforward-good.txt
ipforward-bad.txt


Related issues:

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jan 17, 2017

Member

@tasket, can you help with this?

Member

andrewdavidwong commented Jan 17, 2017

@tasket, can you help with this?

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Jan 17, 2017

@andrewdavidwong OK. I am installing fedora 25.

For now, workaround should be running fedora 24, debian 8 or debian 9.

tasket commented Jan 17, 2017

@andrewdavidwong OK. I am installing fedora 25.

For now, workaround should be running fedora 24, debian 8 or debian 9.

@brutsers

This comment has been minimized.

Show comment
Hide comment
@brutsers

brutsers Jan 17, 2017

I have tested with fedora-24 official qubes template as well, the result is the same.
So you do not need to install v25 - also I do not know if this is machine independent, it looks like it, but not sure. As you can see from the files I attached, the rules for the vif+ interface are missing, I also do not know which process exactly that creates these rules (because they are not explicitly added by your scripts, right?).,

I have tested with fedora-24 official qubes template as well, the result is the same.
So you do not need to install v25 - also I do not know if this is machine independent, it looks like it, but not sure. As you can see from the files I attached, the rules for the vif+ interface are missing, I also do not know which process exactly that creates these rules (because they are not explicitly added by your scripts, right?).,

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Jan 18, 2017

The Fedora VPN VMs are booting and functioning OK on my system; I'm not able to reproduce the issue since yesterday. Weeks ago, I did have issues with Fedora VMs (VPN or not) and quickly switched back to using Debian. This issue is probably related to the intermittant blocking people have reported with Fedora 24...

https://groups.google.com/d/msgid/qubes-users/41b2609d-2324-f6ad-6bd5-2d57b28593d1%40qubes-os.org

So qubes-firewall seems to have problems operating in Fedora versions after 23. We may want to change this issue to encompass all of these blocking problems.

@brutsers Since this is a problem on both Fedora 24 & 25, does switching to a Debian template resolve it? Also, what kernel version is the VM running, and are there any extra packages or services?

tasket commented Jan 18, 2017

The Fedora VPN VMs are booting and functioning OK on my system; I'm not able to reproduce the issue since yesterday. Weeks ago, I did have issues with Fedora VMs (VPN or not) and quickly switched back to using Debian. This issue is probably related to the intermittant blocking people have reported with Fedora 24...

https://groups.google.com/d/msgid/qubes-users/41b2609d-2324-f6ad-6bd5-2d57b28593d1%40qubes-os.org

So qubes-firewall seems to have problems operating in Fedora versions after 23. We may want to change this issue to encompass all of these blocking problems.

@brutsers Since this is a problem on both Fedora 24 & 25, does switching to a Debian template resolve it? Also, what kernel version is the VM running, and are there any extra packages or services?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment