9front - general discussion about 9front
 help / color / mirror / Atom feed
From: hiro <23hiro@gmail.com>
To: 9front <9front@9front.org>
Subject: fqa7 and fqa3 diff
Date: Mon, 13 Feb 2017 21:36:08 +0100	[thread overview]
Message-ID: <CAFSF3XP9bDPxw-_4E5xrkKq5JsnH64pCLeXR8Oprj9yH20TUNQ@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2017-02-13 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 20:36 hiro [this message]
2017-02-13 20:49 ` [9front] " Stanley Lieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFSF3XP9bDPxw-_4E5xrkKq5JsnH64pCLeXR8Oprj9yH20TUNQ@mail.gmail.com \
    --to=23hiro@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).