I am trying to connect two powerline adapters. They do connect to each other, but when I connect the output of one of the adapter to WAN input of a router the router is not connected to the internet(the second adapter is connected to LAN port of my main router). I have tried normal and secure pairing with no difference. I confirmed that the adapters are connected to each other with their onboard LEDs and also with their software.
Any help is appreciated.