> On 07 Oct 2015, at 16:18, Neels Hofmeyr <[email protected]> wrote: > > > - const char* clients_addr_str = "localhost"; > - uint16_t clients_port = 3386; > + /* Which local interface to use to listen for GTP clients */ > + const char* clients_addr_str = "127.0.0.3"; > + uint16_t clients_port = 2123; > > - const char* server_addr_str = "localhost"; > - uint16_t server_port = 1234; > + /* Where the GTP server sits that we're relaying for */ > + const char* server_addr_str = "127.0.0.2"; > + uint16_t server_port = 2123; > > /* Which local interface to use to listen for the GTP server's > * responses */ > - const char* server_rx_addr_str = "localhost"; > - uint16_t server_rx_port = 4321; > + const char* server_rx_addr_str = "127.0.0.4"; > + uint16_t server_rx_port = 2123;
this won't work on FreeBSD (unless you add the ip addresses by hand). Could you use different ports? holger
