Not sure if will work but you can test without that pfctl part. - wan -> port 8080
or guest 80 to host 80 if none of those works, then you could look into assign an ip of the network and use public/bridge networking. Alvaro. On Thu, Sep 18, 2014 at 3:36 PM, <[email protected]> wrote: > Is it possible to collect the real ip of the visitor address when the > vagrant box is configured as follow: > I have a vagrant box setup without private or public network. (I guess > this is host-only network?) > nginx is running on port 80 which is forwarded to 8080 on the host. At the > host, I have pfctl forward port 80 to 8080. > I have the router to forward port 80 on the wan port to port 80 on the > host. > External visitor can see the website (nginx), but the ip that's being > logged is not the real ip address of the visitor. > > cheers, > > -- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
