Hi,
Could you please provide packet trace?
Matus
-Original Message-
From: Carlito Nueno
Sent: Friday, January 4, 2019 10:34 PM
To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Question regarding captive portal
Hi Matus
n Behalf Of carlito nueno
> Sent: Friday, December 28, 2018 10:52 PM
> To: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] Question regarding captive portal
>
>
>
> NAT might be the right way to achieve this.
>
> This is the command I used with iptables:
> iptables -t nat
out2in-only”.
Matus
From: vpp-dev@lists.fd.io On Behalf Of carlito nueno
Sent: Friday, December 28, 2018 10:52 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Question regarding captive portal
NAT might be the right way to achieve this.
This is the command I used with iptables:
iptables -t
I couldn't find anything under NAT to make this work.
I tried the following:
set int state GigabitEthernet4/0/0 up
...
...
loopback create
set int l2 bridge loop4 4 bvi
set int ip address loop4 192.168.2.1/24
set int state loop4 up
create sub GigabitEthernet4/0/0 4
set int l2 bridge GigabitEt
NAT might be the right way to achieve this.
This is the command I used with iptables:
iptables -t nat -A eth0 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.2
What is a similar command on VPP-NAT when I am trying to send port 80 traffic
from main interface to tap-device:
main interface: Gi
Subject: Re: [vpp-dev] Question regarding captive portal
Sorry I wasn't clear:
VPP is the gateway in my case.
So when a request comes from client to VPP, how can I get redirect that request
(in VPP) to an application on the linux host?
Application is listening on a tap device on port 80.
T
Sorry I wasn't clear:
VPP is the gateway in my case.
So when a request comes from client to VPP, how can I get redirect that request
(in VPP) to an application on the linux host?
Application is listening on a tap device on port 80.
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages s
Hi Yu,
Option 2:
Can you help understand how I can simulate man in the middle. The request from
client to gateway, which is VPP in my case. How can I use VPP to do this?
Thanks.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11782): https://lists
redirect to client. You can either use VPP host stack to get the
http request.
From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of carlito
nueno
Sent: Friday, December 28, 2018 8:59 AM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Question regarding captive portal
Hi all,
After more
Hi all,
After more research, I found that most devices test connectivity by issuing an
HTTP GET request, e.g. to captive.apple.com or
connectivitycheck.gstatic.com/generate_204.
How do I catch this http request and respond with 302 redirect that redirects
user to lan ip address: 192.168.1.2:80/
Hi all,
GigabitEthernet4/0/0 = LAN interface - 192.168.1.1
Tap1 = tap interface - 192.168.1.2
Clients connected to LAN interface - 192.168.1.100 - 200
GigabitEthernet5/0/0 = WAN interface
I want to redirect any traffic (tcp or udp) from clients
(192.168.1.100 - 200) to a server running locally o
11 matches
Mail list logo