Question : Draytek Vigor 2820 unable to access FTP site within the LAN

We have a windows server network with a 2820n operating on 1 WAN port. We have set up an ftp site at our ISP heart Internet but we cannot access from anywhere within the LAN. Can access from other PC's. I have put an allow rule on LAN to WAN for any service. Any advice please. Just get unable to display page in the browser
Attachments:
 
screenshot of FW rule
 

Answer : Draytek Vigor 2820 unable to access FTP site within the LAN

Hi learningunix,

the line checks if the left-most byte of 'num' is '1'.

'&num' is a pointer to the memory address where the first byte of 'num' resides. The '(char*)' casts this pointer '&num' (which is a pointer to int) to a pointer to char. Since char is a one byte data type accessing that 'pointer to char' with '*' accesses the first byte of the int. In little endian this byte has to be '1' for and 'int' which is '1' - in big endian the first byte would be '0' since the least significant byte is the most right one ...

Hope that helps,

ZOPPO

Random Solutions  
 
programming4us programming4us