[GH-ISSUE #261] [QUESTION] Block internet navigation from VM #207

Closed
opened 2026-02-27 16:38:24 +03:00 by kerem · 4 comments
Owner

Originally created by @DEK4 on GitHub (Mar 12, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/261

Hello,

is there anyone who can help me telling me how can i block the internet navigation from the VMs?

thanks a lot

Originally created by @DEK4 on GitHub (Mar 12, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/261 Hello, is there anyone who can help me telling me how can i block the internet navigation from the VMs? thanks a lot
kerem closed this issue 2026-02-27 16:38:24 +03:00
Author
Owner

@DEK4 commented on GitHub (Mar 14, 2014):

Any advice? :)

<!-- gh-comment-id:37648607 --> @DEK4 commented on GitHub (Mar 14, 2014): Any advice? :)
Author
Owner

@retspen commented on GitHub (Mar 14, 2014):

What does mean block the internet navigation? Deny NAT ?

<!-- gh-comment-id:37658527 --> @retspen commented on GitHub (Mar 14, 2014): What does mean block the internet navigation? Deny NAT ?
Author
Owner

@DEK4 commented on GitHub (Mar 14, 2014):

I have to block the access to the internet on an determinate IP
but this IP can access only to an internal ip on port 80

2014-03-14 16:19 GMT+01:00 Anatoliy Guskov notifications@github.com:

What does mean block the internet navigation? Deny NAT ?

Reply to this email directly or view it on GitHubhttps://github.com/retspen/webvirtmgr/issues/261#issuecomment-37658527
.

<!-- gh-comment-id:37664107 --> @DEK4 commented on GitHub (Mar 14, 2014): I have to block the access to the internet on an determinate IP but this IP can access only to an internal ip on port 80 2014-03-14 16:19 GMT+01:00 Anatoliy Guskov notifications@github.com: > What does mean block the internet navigation? Deny NAT ? > > ## > > Reply to this email directly or view it on GitHubhttps://github.com/retspen/webvirtmgr/issues/261#issuecomment-37658527 > .
Author
Owner

@retspen commented on GitHub (Mar 16, 2014):

Try something like that:
iptables -A FORWARD -s ipaddress_vm -p tcp --dport !80 j- DROP

<!-- gh-comment-id:37767067 --> @retspen commented on GitHub (Mar 16, 2014): Try something like that: iptables -A FORWARD -s ipaddress_vm -p tcp --dport !80 j- DROP
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#207
No description provided.