9front - general discussion about 9front
 help / color / mirror / Atom feed
* fqa7 and fqa3 diff
@ 2017-02-13 20:36 hiro
  2017-02-13 20:49 ` [9front] " Stanley Lieber
  0 siblings, 1 reply; 2+ messages in thread
From: hiro @ 2017-02-13 20:36 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: fqa7.ms.diff --]
[-- Type: text/plain, Size: 294 bytes --]

269c269
< bind -b '#S' /dev # bind the local hard drive kernel device over /dev
---
> bind -b \'#S\' /dev # bind the local hard drive kernel device over /dev
1701c1701
< auth/rsa2x509 'C=US CN=fakedom.dom' /sys/lib/tls/key | \e
---
> auth/rsa2x509 \'C=US CN=fakedom.dom\' /sys/lib/tls/key | \e

[-- Attachment #3: fqa3.ms.diff --]
[-- Type: text/plain, Size: 617 bytes --]

2522a2523,2538
> If you want to enable internet access enable NAT forwarding on the linux host (as root).
> 
> To do this, first globally enable forwarding:
> .P1
> echo 1 > /proc/sys/net/ipv4/ip_forward
> .P2
> Enable Masquerading for everything comping from the VM's tap device (eth0 being your host's way to the internet):
> .P1
> iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j MASQUERADE
> .P2
> block everything else from being forwarded:
> .P1
> iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
> iptables -A FORWARD -s 10.0.0.0/24 -i tap0 -j ACCEPT
> iptables -P FORWARD DROP
> .P2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] fqa7 and fqa3 diff
  2017-02-13 20:36 fqa7 and fqa3 diff hiro
@ 2017-02-13 20:49 ` Stanley Lieber
  0 siblings, 0 replies; 2+ messages in thread
From: Stanley Lieber @ 2017-02-13 20:49 UTC (permalink / raw)
  To: 9front

On Feb 13, 2017, at 3:36 PM, hiro <23hiro@gmail.com> wrote:
> 
> 
> <fqa7.ms.diff>
> <fqa3.ms.diff>

Thanks, I'll get these added.

sl



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-13 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 20:36 fqa7 and fqa3 diff hiro
2017-02-13 20:49 ` [9front] " Stanley Lieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).