Exit bridge mode on a Sagemcom F @ ST328 modem router

Hi!
Tinkering with this modem router (or other) that my operator gave me to see if it worked for me as a wifi extender or as a new access point to the same internet connection, I & I have activated the bridge mode (novice error) and now connect with the modem is impossible because it no longer transmits an access point.

What should I do to reconnect to wifi? I have already tried to connect my laptop via Ethernet and connect the old modem to the new router that the company gave me via Ethernet.

vue.js – Vuejs + Laravel Middleware (Vue Router)

I am developing a SPA with vuejs as a frontend framework and Laravel as a backend, I am very new to Vuejs and I don't understand how to create and implement middleware in Vuejs so I used conditionals in the view.router router that work in the same way, the problem is that already formulating so many conditions that it becomes confusing to read and understand in addition that it only works on occasion, I hope that you can help me better understand the subject of middleware since I have not found any documentation on the internet

Here, I leave the beforeEach in my router which works as middleware:

router.beforeEach((to, from, next) => {
    //Aqui se verifica si la ruta a la que se desea ingresar tiene un meta con requiresAuth, si es asi, procede al siguiente
    if(to.matched.some(record => record.meta.requiresAuth)) {
        // Verifica que el usuario tenga en el amacenamiento local dos datos, la info de incio de sesion y el token JWT
        if (localStorage.getItem('userInfo') && localStorage.getItem('accessToken')) {
            // Verifica si la ruta a la que se desea ingresar requiere que se haya completado el Wizard de empresa
            if(to.matched.some(record => record.meta.requiresWizard)) {
                // Definimos la variable que contiene el resultado del wizard
                const companyVerify = localStorage.getItem('wizardVerify');
                // Si el resultado de la variable es falso entonces redirecciona al wizard para que se complete
                if (companyVerify === 'false') {
                    next({name: 'wizard'})
                } 
                // Si el usuario desea ingresar a la ruta wizard despues de haberlo completado y la variable del almacenamiento local
                // es true entonces no lo deja pasar y redirecciona al incio (home)
                else if (to.name === 'wizard' && companyVerify === 'true'){
                    next({name: 'home'})
                }
                next()
                return
            }
            next()
            return
        } // Si todas las antriores fallan entonces redirige a iniciar la session nuevamente
        next({name: 'page-login'})
    } else {
        // Si todo lo anterior se cumple exitosamente procede a la siguiente solicitud
        next()
    }
    // Si el usuario intenta ingresar a la ruta Login pero ya tiene una sesion con datos almacenados en Local entonces
    // no pasa y redirecciona al incio (home)
    if (to.name === 'page-login' && localStorage.getItem('userInfo')) {
        router.push("https://es.stackoverflow.com/")
    }
    // si no tiene sesion iniciada entonces lo deja pasar al login
    next()

})

node.js – cannot forward port to 443 on my router (BGW210-700) for hosting home server websites

trying to transmit on port 443 on my ARRIS BGW210-700. but I get an error: "The port range 443-443 of the service is in conflict with the port managed by the device 443-443" not allowing me to transfer the firewall port under NAT / Gaming to host a web server from my local machine to the Internet. But for port 80, it is, but I need my site to be https. What ideal how to advance my 443 router?

for other information:
my server is a nodejs
Native https nodejs module that I use
domain name brought from godaddy

networking – port forwarding solutions / alternatives on a router with CG-NAT

I have an Ubuntu desktop (19.04), I want to use it as a home server and access it using ssh, which I have done so far, that’s is that I installed ssh on this system, I can access it from my system windows on a local network, but I also wanted to be able to access it on the WAN, so set a private static IP address for Ubuntu, but more late i figured out that my router is using CG-NAT, so even if it supports port forwarding configs, it doesn't work, what should i do now?

Connecting my Netgear R6350 to a 2 in 1 Comcast modem / router

My roommate insists on keeping the 2-in-1 modem router in a cabinet, so I want to connect my own router to amplify the signal. I have tried to use it both as a router and as a wireless access point. When I configure it as a router, I have a good connection but with periodic interruptions. When I configure it as an access point, the connection is not as fast but it seems stable. Can I do something to get both? Did I miss something?

Networking – Remote Desktop Client Connection – Can Connect Via Cell Phone, Cannot Via Landline + ASUS Router + Public, Static IP

I want to connect from home to Windows Server desktop using the Remote Desktop Connection client.

  1. When I connect my laptop to the network using my cellphone, it works like a charm – I connect successfully and it works.

  2. At home, I have a landline with a static public IP and an ASUS wireless router. Unfortunately bdzionk – each time I get a timeout.

Apparently my home router or network provider is doing something with RDP (other services are working as expected).

How to better diagnose and solve the problem?

The router is the problem?

So when I add a massive number of sites to GSA without fail, my Internet access is stopped. I need to go back to the router settings. Save the settings and it is restored. What can I do to stop this problem?

php – router system like laravel, how to manage route creation and router manager?

I'm trying to create a url router system, for educational purposes, which has a similar use to Laravel, but I'm curious as to how I can record routes like Laravel does (with unique calls to static methods), here is my "conceptual" code that I made using a TDD approach:

        $Route = new Route;
        $Route
        ->setUri('users/(i:id)')
        ->setMethod('GET')
        ->setCallback(function () {
            return 'get user';
        })
        ->setMiddleware((
            AppHttpMiddlewaresAuth::class,
            AppHttpMiddlewaresPermission::class
        ))
        ->setName('users.show');

        $Route2 = new Route;
        $Route2
        ->setUri('orders')
        ->setMethod('POST')
        ->setCallback('OrdersController@create')
        ->setMiddleware((
            AppHttpMiddlewaresAuth::class
        ))
        ->setName('orders.post');

        $Router = new Router;
        $Router->addRoute($Route);
        $Router->addRoute($Route2);
        // if the route is matched this methods are called
        // $Router->handleMiddlewares();
        // $Router->handleCallback();
        $Router->run();

1 – There is a better approach on how to wrap route object creation in a simple / shorter way?
for example:
In Laravel, we can map routes like this:

Route::get($uri, $callback);
Route::post($uri, $callback);
Route::put($uri, $callback)->name('foo');

2 – Should the router class be responsible for filtering routes (regex rules, etc.), managing callbacks and middleware?

php – implementation of a mvc url router with weak coupling and solid principles

i am building a url router and i want to improve it to comply with the SOLID principles, i want suggestions on how to make it less coupled.

here is my current code:

Router.php

namespace AppHelpers;

use AppInterfacesRequestIRequest;
use AppExceptionsMethodNotAllowedException;

class Router
{
    private $routes = ();
    private $methodsAllowed = ('GET', 'POST');
    private $request;
    private $uri;
    private $matchTypes = (
        'i'  => '(0-9)++',
        'a'  => '(0-9A-Za-z)++',
        '*'  => '.+?',
    );

    public function __construct(IRequest $request)
    {
        $this->request = $request;
        $this->setUri($request->getUri());
    }

    public function setUri($uri): void
    {
        $this->uri = $uri;
    }

    public function getUri(): string
    {
        return $this->uri;
    }

    public function on($method, $route, $callback): void
    {
        $this->setRoute($route, $method, $callback);
    }

    function setRoute($route, $method, $callback): self
    {
        if(!in_array($method, $this->methodsAllowed)) {
            throw new MethodNotAllowedException('Method not allowed');
        }

        $method = strtoupper($method);

        $this->routes() = (
            'uri' => $this->getUri(),
            'route' => $this->handleRouteUri($route),
            'method' => $method,
            'callback' => $callback,
            'params' => ()
        );

        return $this;
    }

    public function handleRouteUri ($route): string
    {   
        //other filters
        $route = $this->filterRoutePattern($route); 
        return $route;
    }

    public function filterRoutePattern($route): string
    {   
        foreach($this->matchTypes as $matchType => $pattern) {
            $route = str_replace("($matchType)", "($pattern)", $route);
        }

        return $route;
    }

    public function getRoutes(): array
    {
        return $this->routes;
    }

    public function getMethod(): string
    {
        return $this->request->getMethod();
    }

    public function match()
    {   
        foreach($this->routes as $route) {

            if($route('method') != $this->getMethod())
            continue;

            $routeUri = $route('route');
            $pattern = sprintf('~^%s$~', $routeUri);

            if( preg_match($pattern, $this->getUri(), $matches) ) {

                array_shift($matches);

                $route('params') = $matches;

                return $route;
            }

        }
    }
}

Request.php

use:

use AppHelpersRequest;
use AppHelpersRouter;

$router = new Router(new Request());

$router->on('GET', "https://codereview.stackexchange.com/", function() {});
$router->on('GET', 'users/(i)', 'UsersController@show');
$router->on('POST', 'user/store', function() {});

$match = $router->match();

if($match == true) {
    echo '
';
    print_r($match);
} else {
    print_r($router->getUri());
}

1 - to achieve the open and closed principle, if I wanted to add more $methodsAllowed how could i do this without changing the class structure?

2 - I think it would be better to have a Route class where it could store its own properties and methods, but how do I group multiple routes and call it? a RouteBag or RouteCollection class?

3 - Do I have to create a separate class to manage regex expressions? (filtering, etc ...)

4 - if i wanted to create a separate route file and use it where i wanted, like web.php at laravel, how should i do? flip an array with routes or some sort of collection as I mentioned in step 2

feel free to suggest anything you think would be helpful

How to configure VPN or proxy or virutal VPN (virtual router) or VPN server on ANDROID mobile for Wifi Hotspot on all devices

I am novice and new using VPN I am using an open VPN desktop computer (SoftEther VPN Client Manager) and I am trying to find devices. But I use the internet via the wifi hotspot from a mobile. I read about the multihop VPN client and the VPN and proxy chain, that is. multiple proxies or multiple VPNs.

So I thought why not make the mobile a virtual router or configure and install a virtual VPN or a proxy to connect all the devices to any free or open VPN.

  1. As I have seen online and on the Google Play Store, many free and paid VPN apps for Android. which free VPN is good for Mobile

  2. I want to install and configure VPN applications on an Android mobile phone, are they safe and secure

  3. Will these apps change and work anonymously while surfing and downloading and applying on mobile?

  4. As I use the wifi hotspot from a mobile phone, will these VPNs configured on the mobile phone affect anonymous browsing by downloading Internet applications on mobile only or will this automatically affect the Hotspot and other devices also working because the Internet is provided via the mobile itself

  5. if VPN or proxy running on mobile does not automatically affect the wifi hotspot, how can we CONFIGURE THE MOBILE VPN or wifi hotspot proxy like VIRUTAL WIFI ROUTER OR VIRUTAL SERVER or what is the option and how to do it please provide links for it

  6. If configured as a virtual server, we can use different VPN servers on other devices and chain multiple VPNs or proxies for security